Void actor

Rocket.voidFunction
void()
void(::Type{T}) where T

Creation operator for the VoidActor actor.

Examples

using Rocket

actor = void(Int)
actor isa VoidActor{Int}

# output
true

See also: VoidActor, AbstractActor

source
Rocket.VoidActorType
VoidActor{D}() where D

Void 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

See also: Actor, void, tap

source