Class: Cadence::Testing::LocalActivityContext

Inherits:
Activity::Context show all
Defined in:
lib/cadence/testing/local_activity_context.rb

Instance Method Summary collapse

Methods inherited from Activity::Context

#async, #async?, #async_token, #headers, #logger, #run_idem, #workflow_idem

Constructor Details

#initialize(metadata) ⇒ LocalActivityContext

Returns a new instance of LocalActivityContext.



8
9
10
# File 'lib/cadence/testing/local_activity_context.rb', line 8

def initialize()
  super(nil, )
end

Instance Method Details

#heartbeat(details = nil) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/cadence/testing/local_activity_context.rb', line 12

def heartbeat(details = nil)
  raise NotImplementedError, 'not yet available for testing'
end