Skip to content
Version: xstate@5.0.0

ActorLogicFrom type​

Signature:

export type ActorLogicFrom<T> = ReturnTypeOrValue<T> extends infer R ? R extends StateMachine<any, any, any, any, any, any, any, any, any> ? R : R extends Promise<infer U> ? PromiseActorLogic<U> : never : never;

References: StateMachine, PromiseActorLogic