This commit is contained in:
Sönke Ludwig 2018-02-26 19:40:13 +01:00 committed by GitHub
parent e33cf567ec
commit 57d516a82b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -610,7 +610,7 @@ mixin(tracer);
determined or the specified timeout is reached.
*/
WaitForDataAsyncStatus waitForDataAsync(CALLABLE)(CALLABLE read_ready_callback, Duration timeout = Duration.max)
if (is(typeof(CALLABLE(true)))
if (is(typeof(read_ready_callback(true))))
{
mixin(tracer);
import vibe.core.core : setTimer;