github statelyai/xstate xstate@6.0.0-alpha.73

pre-release4 days ago

Patch Changes

  • 6ef5f1f: Async logic that resolves null now reports null as its output instead of undefined. Rejecting with null likewise reports null as the error.

    const logic = createAsyncLogic({ run: async () => null });
    // snapshot.output === null
    // parent receives { type: 'xstate.done.actor', output: null, ... }

Don't miss a new xstate release

NewReleases is sending notifications on new releases.