Interface: MethodDescriptor<A, R>
Defined in: src/batteries/isolation/types.ts:66
A method descriptor produced by method. Carries the declared runtime options plus phantom (never-constructed) fields that pin down the argument tuple and return type for the mapped types below — reading descriptor.__args/descriptor.__result at the TYPE level only, never at runtime.
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
A extends unknown[] | unknown[] |
R | unknown |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__args? | readonly | A | Phantom-only: never assigned a real value. Pins the argument tuple type. | - | src/batteries/isolation/types.ts:73 |
__result? | readonly | R | Phantom-only: never assigned a real value. Pins the resolved result type. | - | src/batteries/isolation/types.ts:75 |
codec? | public | CodecMode | Override the codec tier for this method's arguments and return value. Default: 'auto'. | MethodOptions.codec | src/batteries/isolation/types.ts:52 |
kind | readonly | "method" | Discriminant identifying this descriptor as a method (vs. a stream or event). | - | src/batteries/isolation/types.ts:71 |
signal? | public | boolean | When true, the facade's generated method accepts a trailing AbortSignal and the guest implementation receives a trailing IsolationCallContext carrying that signal. When omitted/false, a trailing signal argument is still accepted on the facade (for call-site uniformity) but is not forwarded anywhere meaningful — the implementation is never given a context parameter. | MethodOptions.signal | src/batteries/isolation/types.ts:50 |