Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
cancel (String taskId , {Context ? ctx })
→ Future <bool ? >
Cancel
Attempts to cancel the {@link tech.firmer.mesh.types.Timeout} associated with this handle.
If the task has been executed or cancelled already, it will return with
no side effect.
cron (String cron , Topic topic , {Context ? ctx })
→ Future <String ? >
Cron
Schedules with the cron expression. "0 * * 1-3 * ? *"
dump ({Context ? ctx })
→ Future <List <String > ? >
Dump max is 1000 items
Releases all resources acquired by this {@link Scheduler} and cancels all
tasks which were scheduled but not executed yet.
emit (Topic topic , {Context ? ctx })
→ Future <void >
Emit the scheduler topic
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
period (Duration duration , Topic topic , {Context ? ctx })
→ Future <String ? >
Period
schedule with fixed duration.
shutdown (Duration duration , {Context ? ctx })
→ Future <void >
Shutdown the scheduler
stop (String taskId , {Context ? ctx })
→ Future <bool ? >
Stop
Attempts to stop the {@link tech.firmer.mesh.types.Timeout} associated with this handle.
If the task has been executed or cancelled already, it will return with
no side effect.
timeout (Timeout timeout , Duration duration , {Context ? ctx })
→ Future <String ? >
Timeout
Schedules the specified {@link Timeout} for one-time execution after the specified delay.
toString ()
→ String
A string representation of this object.
inherited