This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.
yew_agent

Module prelude

Source
Expand description

Prelude module to be imported when working with yew-agent.

This module re-exports the frequently used types from the crate.

Re-exports§

Structs§

  • A handle to communicate with bridges.
  • This struct holds a reference to a component and to a global scheduler.

Enums§

  • The reachability of an agent.

Traits§

  • A trait to enable public workers being registered in a web worker.
  • A Worker that can be spawned by a spawner.

Attribute Macros§

  • A procedural macro to create oneshot agents.
  • A procedural macro to create reactor agents.