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
ins(arg){returntypeofarg==='function' ? (arg(this)||this)// no further processing by handler ...
: typeofarg==='object' ? (this.commands.push({a:arg}),this)// no explicit command name .. !
: this;},
and
asyncexe(commands){for(letcmdofcommands){if(cmd.c&&this[cmd.c]){// explicit command name .. !constrx=this[cmd.c](cmd.a);if(rx&&rxinstanceofPromise){awaitrx;}}elseif(cmd.a){// should be from 'ins' commandif(cmd.a.commands)// cmd.a is a `g2` object, so directly execute its commands array.this.exe(cmd.a.commands);if(cmd.a.g2)// cmd.a is an object offering a `g2` method, so call it and execute its returned commands array.this.exe(cmd.a.g2().commands);}}},
Please add and test.
The text was updated successfully, but these errors were encountered:
It is implemented by
and
Please add and test.
The text was updated successfully, but these errors were encountered: