[ library(notify_ports) | Reference Manual | Alphabetic Index ]

open_receiver(+SendPort, -ReceivePort)

Create a receiver for a given notification sender
SendPort
a send port structure
ReceivePort
a variable, will be bound to a structure

Description

This predicate creates a receive port listening to messages sent via the specified send port. The new receive port will receive all messages that are sent via the send port after the receiver has been opened. Messages that were sent before the receiver has been opened will not be received by this receiver.

See Also

open_receiver_init / 4