mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Bind ErrorQueueStore to ErrorQueueActions
This commit is contained in:
parent
0d6b3710f7
commit
9b54a75e27
@ -30,6 +30,7 @@ class ErrorQueueStore {
|
||||
this.exportPublicMethods({
|
||||
getNextError: this.getNextError
|
||||
});
|
||||
this.bindActions(ErrorQueueActions);
|
||||
}
|
||||
|
||||
getNextError(type) {
|
||||
@ -40,7 +41,7 @@ class ErrorQueueStore {
|
||||
return queue[index];
|
||||
}
|
||||
|
||||
onShiftQueue(type) {
|
||||
onShiftErrorQueue(type) {
|
||||
const errorQueue = this.errorQueues[type];
|
||||
const { queue, loop } = errorQueue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user