Method DisposeAndWaitAsync(TimeSpan)

Assembly: redb.Core.dll

Marks the gate disposed and WAITS until the in-flight command (if any) releases
the slot. The budget is deliberately REQUIRED - derive it from the connection's own
command timeout via ; there is no magic default. It is a
last-resort escape for a command stuck beyond its own timeout: teardown then
proceeds rather than hang forever.

public ValueTask DisposeAndWaitAsync(TimeSpan budget)