5.23.0
Added 1
- Add `system.getAll` that returns a record of running actors within the system by their system id
Minor Changes
-
#5387
53dd7f1Thanks @farskid! - Addssystem.getAllthat returns a record of running actors within the system by their system idconst childMachine = createMachine({}); const machine = createMachine({ // ... invoke: [ { src: childMachine, systemId: 'test' } ] }); const system = createActor(machine); system.getAll(); // { test: ActorRefFrom<typeof childMachine> }