How to use the @xstate/fsm.createMachine function in @xstate/fsm

To help you get started, we’ve selected a few @xstate/fsm examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hashicorp / consul / ui / packages / consul-ui / app / services / state.js View on Github external
machine(chart, options = {}) {
    return createMachine(...this.addGuards(chart, options));
  }

@xstate/fsm

XState for finite state machines

MIT
Latest version published 1 year ago

Package Health Score

84 / 100
Full package analysis