staticfinalread onlycustom:Symbol
That can be used to declare custom promisified variants of functions, see Custom promisified functions.
See also:
https://nodejs.org/api/util.html#util_util_promisify_custom
@: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.
(err, value) => ...
https://nodejs.org/api/util.html#util_util_promisify_original