You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Promise actor logic is described by an async process that resolves or rejects after some time. Actors created from promise logic (“promise actors”) can:
254
254
@@ -281,7 +281,7 @@ promiseActor.start();
281
281
// }
282
282
```
283
283
284
-
### `fromTransition` for Transition Function Logic{#fromtransition}
284
+
### Transition function logic (`fromTransition(...)`){#fromtransition}
285
285
286
286
Transition actor logic is described by a [transition function](migration.mdx#use-actor-logic-creators-for-invokesrc-instead-of-functions), similar to a [reducer](fromTransition). Transition functions take the current `state` and received `event` object as arguments, and return the next state. Actors created from transition logic (“transition actors”) can:
Observable actor logic is described by an [observable stream of values](#fromObservable). Actors created from observable logic (“observable actors”) can:
327
327
@@ -346,7 +346,7 @@ secondActor.start();
346
346
// ...
347
347
```
348
348
349
-
### `fromEventObservable` for Event Observable Logic{#fromeventobservable}
Event observable actor logic is described by an observable stream of [event objects](transitions.mdx#event-objects). Actors created from event observable logic (“event observable actors”) can:
Callback actor logic is described by a callback function that receives a single object argument that includes a `sendBack(event)` function and a `receive(event => ...)` function. Actors created from callback logic (“callback actors”) can:
0 commit comments