Temit

Temit

  • Getting Started
  • API
  • Github
  • npm
  • Discord

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

ParameterTypeDescription
temitTemitClient
eventstring
optsEndpointOptions | undefined
handlerEndpointHandler<Arg, Unpack<Return>>
  • Endpoint.(constructor)
  • Parameters
Temit
Docs
Getting StartedRecipesAPI Reference
Community
DiscordGitHubStar
Copyright © 2021 Temit