Module mz_storage::storage_state::async_storage_worker

source ·
Expand description

A friendly companion async worker that can be used by a timely storage worker to do work that requires async.

CAUTION: This is not meant for high-throughput data processing but for one-off requests that we need to do every now and then.

Structs§

  • Helper that makes sure that we always activate the target when we send a message.
  • A worker that can execute commands that come in on a channel and returns responses on another channel. This is useful in places where we can’t normally run async code, such as the timely main loop.

Enums§

Functions§