ensureWrite abstract method
Waits for all pending writes to complete.
Includes: currently executing write, pending write in queue, and throttled write waiting for timer.
Example:
signal.value = 'new value';
await signal.ensureWrite(); // Wait for write
Implementation
Future<void> ensureWrite();