Method: Dynflow::Persistence#pull_envelopes

Defined in:
lib/dynflow/persistence.rb

#pull_envelopes(world_id) ⇒ Object



151
152
153
154
155
156
157
# File 'lib/dynflow/persistence.rb', line 151

def pull_envelopes(world_id)
  adapter.pull_envelopes(world_id).map do |data|
    envelope = Dynflow.serializer.load(data)
    Type! envelope, Dispatcher::Envelope
    envelope
  end
end