Expand description

Listen to external events in your application.

Structs

Traits

Functions

  • Creates a Subscription that publishes the events sent from a Future to an [mpsc::Sender] with the given bounds.
  • 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 Aliases

  • A stream of runtime events.
  • The hasher used for identifying subscriptions.