tuil
ReferencePackages@mwillbanks/tuil-registryAPI

RegistrySource

interface exported by @mwillbanks/tuil-registry.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-registry.

export interface RegistrySource {
  readonly id: string;
  get(name: string, signal?: AbortSignal): Promise<RegistryItem | undefined>;
  list(signal?: AbortSignal): Promise<readonly RegistryIndexEntry[]>;
}

Members

MemberTypeRequiredDescriptionRelated types
idstringYesThe id member uses the string contract.
get(name: string, signal?: AbortSignal) => Promise<RegistryItem | undefined>YesThe get member uses the (name: string, signal?: AbortSignal) => Promise<RegistryItem | undefined> contract.RegistryItem
list(signal?: AbortSignal) => Promise<readonly RegistryIndexEntry[]>YesThe list member uses the (signal?: AbortSignal) => Promise<readonly RegistryIndexEntry[]> contract.RegistryIndexEntry

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-registry

On this page