Crate aper_yew

Crate aper_yew 

Source

Structs§

ClientId
IntentEvent
StateMachineContainerProgram
A StateProgram implementation that can be built from any [StateMachine]. Transitions are stripped of their metadata and passed down to the underlying state machine.
StateProgramComponent
Yew Component which owns a copy of the state as well as a connection to the server, and keeps its local copy of the state in sync with the server.
StateProgramComponentProps
Properties for StateProgramComponent.
StateProgramViewContext
UpdateInterval
A Yew component that calls the given callback at a regular interval. It is a useful way to automatically refresh a [crate::View], since the state view itself cannot own an [IntervalTask].

Enums§

Msg
Represents a message this component could receive, either from the server or from an event triggered by the user.

Traits§

StateProgram
This trait can be added to a [StateMachine] which takes a [TransitionEvent] as its transition. Only state machines with this trait can be used directly with the aper client/server infrastructure.
StateProgramViewComponent