sample

Forwards the latest value from the base stream every time the trigger stream produces a value. If the base stream hasn't produces a (new) value the trigger is ignored

sample
(
StreamBase
StreamTrigger
)
(
StreamBase base
,
StreamTrigger trigger
)
if (
models!(StreamBase, isStream) &&
models!(StreamTrigger, isStream)
)

Meta