Skip to content

Commit

Permalink
πŸ”Œ Automatic reconnect (#370)
Browse files Browse the repository at this point in the history
* hello

* aah

* heyo

* hello

* hgfhj

* getting there

* almost there

* error? no error

* ik ben tevree

* hello

* klaar

* bedtijd
  • Loading branch information
fonsp authored Sep 6, 2020
1 parent adc1e10 commit 4d0bf17
Show file tree
Hide file tree
Showing 13 changed files with 475 additions and 331 deletions.
11 changes: 1 addition & 10 deletions frontend/common/Feedback.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
import { code_differs } from "../components/Cell.js"

const timeout_promise = (promise, time_ms) =>
Promise.race([
promise,
new Promise((res, rej) => {
setTimeout(() => {
rej(new Error("Promise timed out."))
}, time_ms)
}),
])
import { timeout_promise } from "./PlutoConnection.js"

export const create_counter_statistics = () => {
return {
Expand Down
Loading

0 comments on commit 4d0bf17

Please sign in to comment.