Skip to content
IC Reactor

ActorMethodReturnType

ActorMethodReturnType<T> = T extends ActorMethod<any, infer Ret> ? Ret : T extends (…args) => Promise<infer Ret> ? Ret : never

Defined in: core/src/types/reactor.ts:62

Extract the resolved return type of a service method.

Same two shapes as ActorMethodParameters.

T