@xstate/svelteFunctionsuseSelectoruseSelector CallableuseSelector<TActor, T>(actor: TActor, selector: (snapshot: SnapshotFrom<TActor>) => T, compare?: (a: T, b: T) => boolean): Readable<T>Type parametersTActor: ActorRef<any, any>TParametersactor: TActorselector: (snapshot: SnapshotFrom<TActor>) => Tcompare: (a: T, b: T) => boolean = defaultCompareReturns Readable<T>