aisbreaker-api-js - v0.1.15 / api/AIsService / AIsService
Interface: AIsService
api/AIsService.AIsService
Every service API must implement this interface.
Implemented by
Table of contents
Properties
Methods
Properties
serviceProps
• serviceProps: AIsServiceProps
set in constructor
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/AIsService.ts:9
Methods
process
▸ process(request
): Promise
<ResponseFinal
>
Let the service do its work.
Alternative names: infer, derive, task, reply, respond, process, ...
Parameters
Name | Type |
---|---|
request | Request |
Returns
Promise
<ResponseFinal
>
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/AIsService.ts:19