suspendFor 方法

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

实现

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