method InMemoryEventBus.prototype.whenIdle InMemoryEventBus.prototype.whenIdle(): Promise<void> Resolves once all in-flight fire-and-forget handlers settle. Internal test seam (concrete-class only, NOT on IEventBus). Return Type Promise<void>