From b935608e535ff588af0739e42717ce72f7e8f907 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Mon, 5 Nov 2018 11:20:16 +0000 Subject: [PATCH] Continuation argument to stop() is optional --- packages/syntax-playground/src/messagespeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syntax-playground/src/messagespeed.js b/packages/syntax-playground/src/messagespeed.js index 568a027..a8be71f 100644 --- a/packages/syntax-playground/src/messagespeed.js +++ b/packages/syntax-playground/src/messagespeed.js @@ -27,7 +27,7 @@ spawn { } on message $v { if (v === N) { - Dataspace.currentFacet().stop(() => { }); + Dataspace.currentFacet().stop(); } else { ^ v + 1; }