interface SchedulerServiceProvides access to schedule activity at some point in time. This interface might well be expanded to increase the feature set in the future.
If the point in time is in the past, the expectation is that the activity will happen shortly after it is scheduled.
The main consumer initially is an observer of the vault to schedule activities based on transactions as they are recorded.
| scheduleStateActivity |
abstract fun scheduleStateActivity(action: ScheduledStateRef): UnitSchedule a new activity for a TX output, probably because it was just produced. |
| unscheduleStateActivity |
abstract fun unscheduleStateActivity(ref: StateRef): UnitUnschedule all activity for a TX output, probably because it was consumed. |
| NodeSchedulerService |
class NodeSchedulerService : SchedulerService, SingletonSerializeAsTokenA first pass of a simple SchedulerService that works with MutableClocks for testing, demonstrations and simulations that also encompasses the Vault observer for processing transactions. |