From 2fc3a7cc12e159db0ad801de66a38b93caa661cc Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 11 Jul 2026 19:56:33 +0300 Subject: [PATCH] ... Signed-off-by: Alex A. Naanou --- v3/pwiki/parser.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/v3/pwiki/parser.js b/v3/pwiki/parser.js index a06bb4d..b97cbe0 100644 --- a/v3/pwiki/parser.js +++ b/v3/pwiki/parser.js @@ -593,14 +593,10 @@ module.BaseParser = { // - everything returns an ast // - callbacks/events/handlers to trigger on specific macro // resolution - // XXX Remove async/await... (???) - // - for trivial stuff they are nice - // - infectios -- force all subsequent levels to use async/await - // - provide no alternatives - // ...i.e. promises can be extended to indlude partial - // states and the like, async/await can't... + // // XXX Q: do we need generators? // XXX Handle errors... + // XXX BUG: awaiting on .wait* can deadlock... expand: function(page, ast, state={}, nested_handlers={}){ var that = this ast = typeof(ast) != 'object' ?