Cizen v0.12.5 Cizen.Effectful View Source
Creates a block which can perform effects.
Example
use Cizen.Effectful
handle(fn id ->
some_result = perform id, some_effect
if some_result do
perform id, other_effect
end
end)
Creates a block which can perform effects.
use Cizen.Effectful
handle(fn id ->
some_result = perform id, some_effect
if some_result do
perform id, other_effect
end
end)