class Nodus::Token

TODO: probably a token wrapper which designates the active data of the underlying token. This way the token can be the same token across all parallel streams, while each parallel stream will have it’s own temporary view of it at each step…

Attributes

seq_id[R]
stream[R]
timings[R]

Public Class Methods

new(stream, seq_id) click to toggle source
# File lib/nodus/token.rb, line 23
def initialize(stream, seq_id)
  @stream  = stream
  @seq_id  = seq_id
  @timings = {generated: Nodus.timestamp}
  @data    = {}

end