bruth / rita

Toolkit for event-centric and reactive patterns leveraging https://nats.io.
Apache License 2.0
86 stars 6 forks source link

Finalize and test out design of Decider interface for commands #2

Open bruth opened 2 years ago

bruth commented 2 years ago

The current interface looks as follows:

type Decider interface {
  Decide(command *Command) ([]*Event, error)
}