You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm in a need of blocking Submit until the queue of tasks is small enough.
I imagine something like SubmitBlock( ctx context.Context, minQueueDepth uint, f func()) that waits for the queue to be small enough, inserts the func and immediately returns.
Would you like to add something like that or accept a PR?
The text was updated successfully, but these errors were encountered:
Hi,
I'm in a need of blocking
Submit
until the queue of tasks is small enough.I imagine something like
SubmitBlock( ctx context.Context, minQueueDepth uint, f func())
that waits for the queue to be small enough, inserts the func and immediately returns.Would you like to add something like that or accept a PR?
The text was updated successfully, but these errors were encountered: