Module workflow_core::lookup
source · Expand description
LookupHandler
provides ability to queue multiple async requests for the same key
into a group of futures that resolve upon request completion.
This functionality is useful when a client may be making multiple requests for data that is not available and may need to be fetched over a transport that may take time (such as network I/O). Each async request for the same key will get queued into a set of futures all of which will resolve once the initial request is resolved.
Structs§
LookupHandler
provides ability to queue multiple async requests for the same key into a group of futures that resolve upon request completion.
Enums§
Type Aliases§
- Custom result type used by
LookupHandler
- List of channel senders awaiting for the same key lookup.