Void actor
Rocket.void — Functionvoid()
void(::Type{T}) where TCreation operator for the VoidActor actor.
Examples
using Rocket
actor = void(Int)
actor isa VoidActor{Int}
# output
true
See also: VoidActor, AbstractActor
Rocket.VoidActor — TypeVoidActor{D}() where DVoid actor does nothing with input data, error and complete events, can be useful for debugging (e.g. to start side-effects with tap operator)
Examples
using Rocket
source = from([ 0, 1, 2 ])
actor = VoidActor{Int}()
subscribe!(source, actor)
;
# output