• function
 

Get a handler for thenable x. NOTE: You must only call this if maybeThenable(x) == true

Promise.getHandlerMaybeThenable(x)

Get a handler for thenable x. NOTE: You must only call this if maybeThenable(x) == true

Parameters

  1. x {object | function() | Promise}

Returns

Help us improve StealJS by taking our community survey