interpret
Callable
Type parameters
- TLogic: AnyActorLogic
Parameters
logic: TLogic extends AnyStateMachine ? AreAllImplementationsAssumedToBeProvided<TLogic[__TResolvedTypesMeta]> extends true ? TLogic : [Some implementations missing, Values<{ [ K in string | number | symbol ]: Prop<Prop<TLogic[__TResolvedTypesMeta], resolved>, missingImplementations>[K] }>] : TLogic
optionaloptions: ActorOptions<TLogic>
Returns Actor<TLogic>
Creates a new Interpreter instance for the given machine with the provided options, if any.
Use
createActor
instead