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
{{ message }}
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.
Would it be possible to duplicate a sequence, perhaps like:
varsq_template=sq.duplicate();
The duplicated sequence would probably need to start out "paused", perhaps as a mixture of iterable-sequences and normal sequences, where the first step can be externally advanced with a next() or start() or something, and the rest of the sequence would be a normal internally iterable sequence.
One way this might be useful:
// restart the sequence to recover from an errorsq.or(functionrecover(err){// swqp out to saved "backup" templatesq=sq_template;// start up the new sequencesq.start();// or iterable-sequence `next()`// now, make another "backup" templatesq_template=sq.duplicate();// setup the new sequence to error recover automaticallysq.or(recover);});
We could perhaps even have a helper:
// restart the sequence to recover from an errorsq.or(functionrecover(err){sq=ASQ.restart(sq_template);// now, make another "backup" templatesq_template=sq.duplicate();// setup the new sequence to error recover automaticallysq.or(recover);});
The text was updated successfully, but these errors were encountered:
Given a sequence like:
Would it be possible to duplicate a sequence, perhaps like:
The duplicated sequence would probably need to start out "paused", perhaps as a mixture of iterable-sequences and normal sequences, where the first step can be externally advanced with a
next()
orstart()
or something, and the rest of the sequence would be a normal internally iterable sequence.One way this might be useful:
We could perhaps even have a helper:
The text was updated successfully, but these errors were encountered: