StreamErrorHandler
StreamErrorHandler = (
error) =>Promise<{headers: {authorization:string; }; } |undefined>
Defined in: packages/client/src/circuits/stream-source.ts:65
The token-recovery policy as a function of a read error: resolves with the authorization header
to retry with, or undefined when the error must stand.
Parameters
Section titled “Parameters”Error
Returns
Section titled “Returns”Promise<{ headers: { authorization: string; }; } | undefined>