asyncToStringMethod: typeof asyncToStringMethod = ...

Use this symbol to define a custom serializer for your instances. Serializer must be a function returning a promise of string (see WithAsyncToStringMethod).

Please note that:

  1. It will only be useful for asynchronous properties.
  2. It has to return barely instantly.


Since 2.17.0

Generated using TypeDoc