AsyncHandler

@JSType
trait AsyncHandler[TEvent, TResult] extends Function2[TEvent, Context, Promise[TResult]]

Asynchronous-style handler that returns js.Promise. This can be used Node.js 8 runtime or more

trait Function2[TEvent, Context, Promise[TResult]]
class Function
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

@ExposedJSMember
def apply(arg1: TEvent, arg2: Context): Promise[TResult]
Inherited from:
Function2
def bind(thisArg: Any, argArray: Any*): Dynamic
Inherited from:
Function
def call(thisArg: Any, argArray: Any*): Dynamic
Inherited from:
Function
def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object