class Chamomile::CancelToken
A cancel token for cancellable commands.
Public Class Methods
Source
# File lib/chamomile/commands.rb, line 54 def initialize @cancelled = Concurrent::AtomicBoolean.new(false) end
A cancel token for cancellable commands.
# File lib/chamomile/commands.rb, line 54 def initialize @cancelled = Concurrent::AtomicBoolean.new(false) end