SetSchedule

class SetSchedule @InternalWowApi constructor(val key: String, val rule: ScheduleRule, val commandType: String, val command: String)

The system command wow.schedule.Set: sets the schedule key of the aggregate it is sent to, to send it the command of type commandType (context.aggregate.Command), command its JSON, as rule says. Every aggregate decides it without user code, on an aggregate that exists; a saga derives it (me.ahoo.wow.api.subscribe.SagaContext.schedule).

Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(key: String, rule: ScheduleRule, commandType: String, command: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val key: String
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String