promisify

object promisify
class Object
trait Matchable
class Any

Value members

Concrete methods

@inline
def apply(fn: Function): Function
@inline
def apply(fn: Function1[Function1[UndefOr[Any], Unit], Unit]): Function0[Promise[Unit]]
@inline
def apply[TCustom](fn: CustomPromisify[TCustom]): TCustom
@inline
def apply[T1](fn: Function2[T1, Function1[UndefOr[Any], Unit], Unit]): Function1[T1, Promise[Unit]]
@inline
def apply[T1, T2](fn: Function3[T1, T2, Function1[UndefOr[Any], Unit], Unit]): Function2[T1, T2, Promise[Unit]]
@inline
def apply[T1, T2, T3](fn: Function4[T1, T2, T3, Function1[UndefOr[Any], Unit], Unit]): Function3[T1, T2, T3, Promise[Unit]]
@inline
def apply[T1, T2, T3, T4](fn: Function5[T1, T2, T3, T4, Function1[UndefOr[Any], Unit], Unit]): Function4[T1, T2, T3, T4, Promise[Unit]]
@inline
def apply[T1, T2, T3, T4, T5](fn: Function6[T1, T2, T3, T4, T5, Function1[UndefOr[Any], Unit], Unit]): Function5[T1, T2, T3, T4, T5, Promise[Unit]]

Concrete fields

@JSImport("node:util", "promisify") @native
val ^: Any
@JSImport("node:util", "promisify.custom") @native
val custom: Symbol