class SigStream
Continuous stream of values.
index
members
-
sigstream:set(value)
– update this stream’s value. -
sigstream.value
– the wrapped Lua value.
static functions
-
SigStream(type, value)
– construct a new Constant.
result interface
-
sigstream:dirty()
– return whether this Result was changed in the current tick. -
sigstream:unwrap([type[, msg]])
– unwrap to the Lua type. -
sigstream:fork()
– create a mutable copy of this stream. -
sigstream:__call(...)
– alias for unwrap. -
sigstream.type
– the type of this Result’s value. -
sigstream.metatype()
– the metatype string for this Result.
details
members
-
– update this stream’s value.
Marks this stream as dirty for the remainder of the current tick.
parameters:
-
– the wrapped Lua value.
static functions
-
– construct a new Constant.
parameters:
- the type name
- the Lua value to be accessed through unwrap
result interface
-
– return whether this Result was changed in the current tick.
returns:
- (bool)
- – unwrap to the Lua type.
-
– create a mutable copy of this stream.
Used to insulate eval-cycles from each other.
returns:
-
– alias for unwrap.
parameters:
-
– the type of this Result’s value.
-
– the metatype string for this Result.