class Rosegold::Action(T)

Defined in:

rosegold/control/action.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(target : T) #

[View source]

Instance Method Detail

def channel : Channel(Exception | Nil) #

[View source]
def fail(msg : String) #

[View source]
def fail(exception : Exception) #

[View source]
def join #

Throw error if it failed


[View source]
def succeed #

[View source]
def target : T #

[View source]