Module 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
LookupHandler provides ability to queue multiple async requests for the same key into a group of futures that resolve upon request completion.

Enums§

RequestType

Type Aliases§

LookupResult
Custom result type used by LookupHandler
SenderList
List of channel senders awaiting for the same key lookup.