cleaning up

This commit is contained in:
Jade Rowland
2023-10-01 20:30:47 -04:00
parent 5db39b8e9e
commit 0efcf84c46
2 changed files with 2 additions and 5 deletions
+1
View File
@@ -19,6 +19,7 @@ export function repl({
onToggle,
editPattern,
}) {
//TODO: could maybe be enabled with a command or a switch in settings?
const abelinkEnabled = isTauri();
const cyclistParams = {
interval,
+1 -5
View File
@@ -36,9 +36,7 @@ export class CyclistBridge extends Cyclist {
logger('[cyclist] start');
this.clock.start();
this.setStarted(true);
console.log('clock duration: ', this.clock.interval);
}, timestamp - Date.now() - evaluationTime);
} else {
this.stop();
@@ -59,9 +57,7 @@ export class CyclistBridge extends Cyclist {
timestamp: Date.now(),
phase: this.clock.getPhase(),
};
Invoke('sendabelinkmsg', { linkmsg }).then(() => {
logger(`invoke delay: ${Date.now() - x}`);
});
Invoke('sendabelinkmsg', { linkmsg });
}
stop() {