UNPKG

ocpp-rpc

Version:

A client & server implementation of the WAMP-like RPC-over-websocket system defined in the OCPP protocols (e.g. OCPP1.6-J and OCPP2.0.1).

11 lines (10 loc) 246 B
declare class Queue { private _pending; private _concurrency; private _queue; constructor(); setConcurrency(concurrency: number): void; push(fn: any): Promise<unknown>; private _next; } export default Queue;