Skip to content

lukehedger/decider

Repository files navigation

Decider

decider pattern in typescript

Implementations

There are two implementations of the decider pattern:

  • decide.ts - pure decide, no evolve (or, fold)
  • evolve.ts - full decider pattern (decide and evolve)

Test

Run all tests:

bun test

Run tests for a specific step, for example:

bun test -t CreatePayment

Run tests in watch mode:

bun test --watch

About

functional event sourcing decider pattern in typescript

Resources

Stars

Watchers

Forks