mirror of
https://github.com/danog/amp.git
synced 2025-01-22 21:31:18 +01:00
Missed this suspension resume/throw
This commit is contained in:
parent
2f658986f9
commit
56ba17f0ec
@ -434,9 +434,9 @@ final class EmitSource
|
||||
}
|
||||
|
||||
if ($exception) {
|
||||
Loop::queue(static fn() => $placeholder->throw($exception));
|
||||
$placeholder->throw($exception);
|
||||
} else {
|
||||
Loop::queue(static fn() => $placeholder->resume(null));
|
||||
$placeholder->resume(null);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user