watch

Watch a specific ActorRef and signal a failure downstream once the actor terminates.

Simple operators

Signature

def watch(ref: ActorRef): Repr[Out]

Description

Watch a specific ActorRef and signal a failure downstream once the actor terminates. The signaled failure will be an WatchedActorTerminatedException WatchedActorTerminatedException.

Reactive Streams semantics

emits when upstream emits

backpressures when downstream backpressures

completes when upstream completes

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.