Hyperlinkv0.8.0-beta.28

Hyperlink

Hyperlink.localconstsrc/Hyperlink.ts:723
<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 contract).
  • Hyperlink.localbare, no (); its type is taken from the service interface in a fromService contract. Rejected where no interface type is available.
Source src/Hyperlink.ts:7234 lines
export const local: typeof localFn & BareLocal = Object.assign(localFn, {
  [LocalMethodTypeId]: LocalMethodTypeId,
  [bareLocalSym]: true as const,
});