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
This code executes correctly, and prints out the string "change".
code/await Test(none) -> (event none change) -> none do
await 1s;
emit change;
end
var&? Test test = spawn Test();
await test!.change;
_printf("change\n");
This one, however, never prints the string.
code/await Test(none) -> (event none change) -> none;
var&? Test test = spawn Test();
await test!.change;
_printf("change\n");
code/await Test(none) -> (event none change) -> none do
await 1s;
emit change;
end
The text was updated successfully, but these errors were encountered:
AnnyCaroline
changed the title
Events declared as a public field don't work when using code/await prototype
Events declared as a public fields don't work when using code/await prototype
Aug 26, 2019
This code executes correctly, and prints out the string "change".
This one, however, never prints the string.
The text was updated successfully, but these errors were encountered: