Continuation argument to stop() is optional

This commit is contained in:
Tony Garnock-Jones 2018-11-05 11:20:16 +00:00
parent d847201c14
commit b935608e53
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ spawn {
} }
on message $v { on message $v {
if (v === N) { if (v === N) {
Dataspace.currentFacet().stop(() => { }); Dataspace.currentFacet().stop();
} else { } else {
^ v + 1; ^ v + 1;
} }