Static variables

staticfinalread onlycustom:Symbol

That can be used to declare custom promisified variants of functions, see Custom promisified functions.

See also:

Static methods

@:selfCallstaticpromisify(original:Function):Rest<Dynamic> ‑> Promise<Dynamic>

Takes a function following the common error-first callback style, i.e. taking an (err, value) => ... callback as the last argument, and returns a version that returns promises.

See also: