We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cebb1e commit 22bbfc5Copy full SHA for 22bbfc5
docs/actors.mdx
@@ -328,6 +328,8 @@ Observable actor logic is described by an [observable stream of values](#fromObs
328
Sending events to observable actors will have no effect.
329
330
```ts
331
+import { interval } from 'rxjs';
332
+
333
const secondLogic = fromObservable(() => interval(1000));
334
335
const secondActor = createActor(secondLogic);
@@ -354,6 +356,8 @@ Event observable actor logic is described by an observable stream of [event obje
354
356
Sending events to event observable actors will have no effect.
355
357
358
359
+import { fromEvent } from 'rxjs';
360
361
const mouseClickLogic = fromEventObservable(() =>
362
fromEventPattern(document.body, 'click'),
363
);
0 commit comments