vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Function thenablePromise

    • Make any Async function that returns a promise support the old NodeJS callback style. And return the promise that supports thenCall method.

      Type Parameters

      • T extends (...args: TArgs[]) => Promise<TReturn>
      • TArgs = any
      • TReturn = any

      Returns MethodDecorator

      Decorated method