Skip to content

Commit

Permalink
pausing this project again for now. Need to pull all the socket stuff…
Browse files Browse the repository at this point in the history
… into a shared worker, but in a way so that the entire networking layer can be instantiated in its own web worker
  • Loading branch information
NullVoxPopuli committed Jan 15, 2020
1 parent 4d2f67f commit 5f724db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const TRANSITION = {
SEND_READY: 'SEND_READY',
SEND_CODE: 'SEND_CODE',
DATA_RECEIVED: 'DATA_RECEIVED',
};
} as const;

export const transferToDeviceMachine = Machine<{}, Schema, Event>({
id: 'transfer-to-device',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default class TransferToDevice extends Service {
}

@action start() {
this.machine.send('INITIATE_TRANSFER_REQUEST');
this.machine.send(TRANSITION.START);
}
}

Expand Down

0 comments on commit 5f724db

Please sign in to comment.