suspendFor method

  1. @JSName('suspend')
Future suspendFor (num suspendTime)
@JSName('suspend')

Implementation

@JSName('suspend')
Future suspendFor(num suspendTime) =>
    promiseToFuture(JS("", "#.suspendFor(#)", this, suspendTime));