Skip to content

Documentation / @agentick/kernel / ResultOf

Type Alias: ResultOf<T> ​

ResultOf<T> = T extends object ? R : T

Defined in: kernel/src/procedure.ts:32

Extract the result type from a handle-like object. If T has a result property that is a Promise, extract its resolved type.

Type Parameters ​

T ​

T

Released under the ISC License.