Options
All
  • Public
  • Public/Protected
  • All
Menu

Implements RPC.ICallable. Wraps a pool and adds the leaseID to outgoing put requests before executing them.

Hierarchy

  • LeaseClientWrapper

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly callOptionsFactory

callOptionsFactory: undefined | CallOptions | ((context: CallContext) => CallOptions) = this.pool.callOptionsFactory

Methods

exec

  • exec(service: keyof typeof Services, method: string, payload: any): Promise<any>
  • Parameters

    • service: keyof typeof Services
    • method: string
    • payload: any

    Returns Promise<any>

markFailed

withConnection

  • withConnection(): never

Legend

  • Constructor
  • Method
  • Inherited method

Generated using TypeDoc