<PackageReference Include="ReactiveUI.Primitives" Version="7.4.0" />

ReactiveUI.Primitives.Concurrency.WasmSequencer

public sealed class WasmSequencer : ISequencer, IDisposable
Task-pool replacement for single-threaded event-loop runtimes such as browser WebAssembly: it never starts threads and never blocks. Immediate work is batched one drain per event-loop turn through a zero-due timer (a setTimeout(0) macrotask on WebAssembly, so the browser can render between batches); delayed work uses the shared timer, which the WebAssembly runtime backs with the JS event loop.
public static WasmSequencer Default { get; }

Gets the shared WebAssembly sequencer.

public DateTimeOffset Now { get; }

public long Timestamp { get; }

public void Dispose()

Releases the drain timer this sequencer owns and cancels the ready work still queued behind it. Scheduling through a disposed sequencer throws ObjectDisposedException rather than queueing work no drain will ever reach. Delayed work still parked on the shared timer is released when it comes due, because the caller cancels it through the handle it was given rather than through this sequencer.

public void Schedule(IWorkItem item)

public void Schedule(IWorkItem item, long dueTimestamp)