@xstate/reactFunctionsuseActorRefuseActorRef CallableuseActorRef<TLogic>(machine: TLogic, options?: ActorOptions<TLogic>, observerOrListener?: Observer<SnapshotFrom<TLogic>> | (value: SnapshotFrom<TLogic>) => void): ActorRefFrom<TLogic>Type parametersTLogic: AnyActorLogicParametersmachine: TLogicoptions: ActorOptions<TLogic> = {}optionalobserverOrListener: Observer<SnapshotFrom<TLogic>> | (value: SnapshotFrom<TLogic>) => voidReturns ActorRefFrom<TLogic>