Skip to end of metadata
Go to start of metadata

Signal()

Synopsis

Sends a signal to any waiting channels.

Description

Sends a named signal to any channels that may be waiting for one. Acts as a producer in a simple message queue.

  • SIGNALSTATUS
    • SUCCESS - Signal was successfully sent to at least one listener for processing.
    • FAILURE - Signal could not be sent or nobody was listening for this signal.
      Example: Send a signal named workdone

      Syntax

Signal(signalname,[payload])
Arguments
  • signalname - Name of signal to send.
  • payload - Payload data to deliver.

See Also

Import Version

This documentation was imported from Asterisk Version GIT-20-96d9ad5

  • No labels