Continuation argument to stop() is optional
This commit is contained in:
parent
d847201c14
commit
b935608e53
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue