Skip to content

Commit

Permalink
feat(node): add Server.setTimeout() stub (#2564)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored Aug 26, 2022
1 parent e990ef3 commit d9a796e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions node/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,10 @@ class ServerImpl extends EventEmitter {
).then(() => this.#servePromise!.resolve());
}

setTimeout() {
console.error("Not implemented: Server.setTimeout()");
}

close(cb?: (err?: Error) => void): this {
const listening = this.listening;
this.listening = false;
Expand Down

0 comments on commit d9a796e

Please sign in to comment.