cancel method

Future cancel (Object reason)

Implementation

Future cancel(Object reason) =>
    promiseToFuture(JS("", "#.cancel(#)", this, reason));