Closed pietrovismara closed 4 months ago
Added!
Note that if an array of runnables is used, id is not usable as it does not make sense to apply it to multiple runnables. The class version typing is correct (advantage of an options object), functional typing is a bit more complicated. For now, it will just throw an error until I decide on the typing solution.
Thanks and fair enough for the typing! Just FYI I wouldn't mind a separate addMultiple
or similar function if that makes typing easier.
oh and could you please create a tag for v0.0.1-alpha.4
so that I can install via npm
Ended up typing it!
Also created the tag!
I have many runnables with the same options:
It would be more convenient and readable to be able to add them all at once: