David Khourshid

Results 87 issues of David Khourshid

Added support for synchronizers in XState, allowing state persistence and synchronization across different storage mechanisms. - Introduced `Synchronizer` interface for implementing custom synchronization logic - Added `sync` option to `createActor`...

```ts const machine = createMachine({ context: { number: 42 }, invoke2: createInvoke({ id: 'double', input: ({ context }) => ({ count: context.number }), src: fromPromise(async ({ input }: { input:...

Added `onStop` handler to actors which allows registering callbacks that will be executed when an actor is stopped. This provides a way to perform cleanup or trigger side effects when...