Expand description

Listen to external events in your application.

Traits

Functions

  • Creates a Subscription that publishes the events sent from a Future to an [mpsc::Sender] with the given bounds.
  • Returns a Subscription to all the ignored runtime events.
  • Returns a Subscription that filters all the runtime events with the provided function, producing messages accordingly.
  • Returns a Subscription that will call the given function to create and asynchronously run the given [Stream].
  • Returns a Subscription that will create and asynchronously run the given [Stream].
  • Returns a Subscription that will create and asynchronously run a [Stream] that will call the provided closure to produce every Message.

Type Definitions