One-off command scheduler for Commanded CQRS/ES applications using Ecto for persistence.
Commands can be scheduled in one of two ways:
- Using the
Commanded.Scheduler
module as described in the Example usage section. - By dispatching a scheduled command using your app's router or from within a process manager.
Commanded.Scheduler.schedule_once(reservation_id, %TimeoutReservation{..}, ~N[2020-01-01 12:00:00])
MIT License