One instance of a factory paired with its implementation — the element of Hyperlink.serveInstances. Built by Hyperlink.instance.
modelsHyperlink.serveInstancesHyperlink.instance
Source src/Hyperlink.ts:37654 lines
export interface interface HyperlinkInstance<S extends Spec>One instance of a factory paired with its implementation — the element of
Hyperlink.serveInstances
. Built by
Hyperlink.instance
.
HyperlinkInstance<function (type parameter) S in HyperlinkInstance<S extends Spec>S extends Spec> {
readonly HyperlinkInstance<S extends Spec>.key: stringkey: string;
readonly HyperlinkInstance<S extends Spec>.impl: WireServiceOf<S>impl: type WireServiceOf<S extends Spec> = {
readonly [K in keyof S as S[K] extends AnyLocalMethod
? never
: K]: S[K] extends {
readonly _tag: "ref"
}
? Subscribable<SuccessOf<AsMethod<S[K]>>>
: S[K] extends {
readonly kind: MethodKind
}
? ServiceMethod<AsMethod<S[K]>>
: S[K] extends Spec
? WireServiceOf<S[K]>
: never
}
The wire-only service: just the
Method
s (used by the server impl + forwarder).
WireServiceOf<function (type parameter) S in HyperlinkInstance<S extends Spec>S>;
}
Referenced by 2 symbols