Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Sequence #109

Open
xDemon200 opened this issue Oct 16, 2020 · 0 comments
Open

Current Sequence #109

xDemon200 opened this issue Oct 16, 2020 · 0 comments

Comments

@xDemon200
Copy link

xDemon200 commented Oct 16, 2020

How can I get the current sequence to be able to store it and update it as it changes?.

Currently there are these two listeners, but neither covers that need.

registerSequenceStepEvent = () => {
if (this.sequenceStepListener) {
this.sequenceStepListener.remove();
}
this.sequenceStepListener = DeviceEventEmitter.addListener(
'onShowSequenceStepEvent',
e => {
console.log('onShowSequenceStepEvent', e);
},
);
};
registerFinishSequenceEvent = () => {
if (this.finishSequenceListener) {
this.finishSequenceListener.remove();
}
this.finishSequenceListener = DeviceEventEmitter.addListener(
'onFinishSequenceEvent',
e => {
console.log('onShowSequenceStepEvent', e);
},
);
};
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant