schedule
fun schedule(processor: String, function: String, job: ScheduleJob, blocking: Boolean = false, rejections: List<RejectionBinding<*>> = emptyList(), retry: HandlerRetry? = null, commits: List<CommittedBinding<*>> = emptyList(), context: String? = null, derives: List<Class<*>> = emptyList(), schedules: List<Class<*>> = emptyList(), calls: List<Class<*>> = emptyList(), handle: suspend (ScheduleTick, SagaContext) -> List<CommandRequest<*>>): ProcessorBinding<JobState>
A @Saga's @OnSchedule handler function of processor, running job: a saga handler of the context's job aggregate (JobState) that hands each wow.Ticked of an instance of job to handle as a ScheduleTick, and returns the commands it derives. Its subscription reads job's instances alone, by their ids (me.ahoo.wow.kernel.schedule.ScheduleJobModel.instanceIds). context is the bounded context its job runs in, as the compiler knew it. It sends what derives, schedules and calls list, as a saga's handler does.