waitUntil method
Extends the lifetime of the event. It is intended to be called in the install EventHandler for the installing worker and on the active EventHandler for the active worker.
Implementation
void waitUntil(Future<dynamic> future) {
_callMethod(_delegate, 'waitUntil', [futureToPromise(future)]);
}