AnyLocalMethodAny LocalMethod, erased.
modelsLocalMethod
Source src/Hyperlink.ts:5401 lines
export type type AnyLocalMethod = LocalMethod<unknown>Any
LocalMethod
, erased.
AnyLocalMethod = interface LocalMethod<T>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
).
LocalMethod<unknown>;
Referenced by 2 symbols