abstract class Marmot::Task

Direct Known Subclasses

Defined in:

tasks.cr

Constant Summary

Log = Marmot::Log.for(self, Marmot::Log.level)

Instance Method Summary

Instance Method Detail

def cancel #

Cancels the task.

A canceled task cannot be uncanceled.


[View source]
def canceled? : Bool #

Returns true if the task is canceled.


[View source]