github statelyai/xstate xstate@5.23.0

latest release: @xstate/store@3.10.0
2 days ago

Minor Changes

  • #5387 53dd7f1 Thanks @farskid! - Adds system.getAll that returns a record of running actors within the system by their system id

    const childMachine = createMachine({});
    const machine = createMachine({
      // ...
      invoke: [
        {
          src: childMachine,
          systemId: 'test'
        }
      ]
    });
    const system = createActor(machine);
    
    system.getAll(); // { test: ActorRefFrom<typeof childMachine> }

Don't miss a new xstate release

NewReleases is sending notifications on new releases.