ReqLLM.StreamResponse.MetadataHandle
(ReqLLM v1.5.1)
View Source
Asynchronous metadata cache that allows multiple awaiters to share the same result.
The handle starts a background process that runs the supplied fetch fun exactly once. Callers can await the metadata multiple times without causing repeated fetches or task mailbox exhaustion.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type t() :: pid()