EmitterOptionsType
import { EmitterOptionsType } from "@hyper-fetch/sockets"
Description
Defined in emitter/emitter.types.ts:15
Preview
type EmitterOptionsType<Endpoint,AdapterType> = {
endpoint: Endpoint;
options: ExtractEmitterOptionsType<AdapterType>;
timeout: number;
}
Structure
{
endpoint: Endpoint;
options: T extends SocketAdapterType<any, any, any, infer E> ? E : never;
timeout: number;
}