temit > Endpoint > (constructor)
Endpoint.(constructor)
Constructs a new instance of the Endpoint
class
Signature:
constructor(temit: TemitClient, event: string, opts: EndpointOptions | undefined, handler: EndpointHandler<Arg, Unpack<Return>>);
Parameters
Parameter | Type | Description |
---|---|---|
temit | TemitClient | |
event | string | |
opts | EndpointOptions | undefined | |
handler | EndpointHandler<Arg, Unpack<Return>> |