Hyperlinkv0.8.0-beta.28

Hyperlink

Hyperlink.LocalMethodinterfacesrc/Hyperlink.ts:528

A local-only member of a resource contract — built by Hyperlink.local. It is not part of the wire contract (no schema, no rpc): use it for things that can't cross RPC simply (a returned function, a raw Fiber/Scope/Ref, a callback). Its declared type T is given directly. In the service it surfaces as Effect<T, never, Local<Self>> — you yield* it to obtain the value, which requires the local layer (Local).

modelsHyperlink.localLocal
Source src/Hyperlink.ts:5285 lines
export interface LocalMethod<T> {
  readonly [LocalMethodTypeId]: typeof LocalMethodTypeId;
  /** Phantom default at declaration — type-level / documentation; not on the wire. */
  readonly value?: T;
}
Referenced by 4 symbols