Acquires ownership and waits until the signal is emitted and the emit count is larger than a given one.
May throw an InterruptException if the task gets interrupted using Task.interrupt().
See Implementation
Acquires ownership and waits until the signal is emitted and the emit count is larger than a given one.