suspend

suspend fun suspend(suspendTime: Double)(source)

The suspend() method of the OfflineAudioContext interface schedules a suspension of the time progression in the audio context at the specified time and returns a promise.

MDN Reference