Expand description
TEA command/effect system for async side-effects. TEA command/effect system.
Cmd values describe async side-effects that update() requests.
The execute() function spawns tokio tasks to perform them,
sending results back as Message variants through a channel.
Enumsยง
- Cmd
- A command describing an async side-effect.
Functionsยง
- execute
- Execute a command by spawning async tasks that send results
back through
msg_tx. - no_
remote_ ๐error - Create an
ApiErrorfor when no client exists for a remote name. - spawn_
fetch ๐ - Spawn an async fetch task if the client exists, or send an error message.