Hyperlinkv0.9.0-beta.0

Hyperlink

Hyperlink.localconstsrc/Hyperlink.ts:990
<T>(defaultValue?: T): LocalMethod<T>

Declare a local-only member (see LocalMethod). Two forms:

  • Hyperlink.local<T>() — the element type T given explicitly (for a plain Tag<Self>() contract).
  • Hyperlink.localbare, no (); its type is taken from the service interface in a Tag<Self, I>() contract. Rejected where no interface type is available.
spec fieldsLocalMethodTag
Source src/Hyperlink.ts:9904 lines
export const local: typeof localFn & BareLocal = Object.assign(localFn, {
  [LocalMethodTypeId]: LocalMethodTypeId,
  [bareLocalSym]: true as const,
});