-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3690d10
commit fb83c35
Showing
5 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// epic queue | ||
// need to do a couple things: | ||
// 1. integrate fast-check | ||
// 2. integrate span checks | ||
// 3. might also consider span logs? | ||
// 4. open tracing observability | ||
// 5. structured logging | ||
// 6. async hooks to get traced promises to understand the situation | ||
// 7. do we also get fantasy land promises? and async cancellable stuff? | ||
// 8. task abstractions? | ||
// need to use the db for this | ||
// 9. priority structure | ||
// 10. timers | ||
// abort controller | ||
|
||
// timeout scheduling system is task scheduling | ||
// queue is the persistent version of this | ||
// in general you have a job scheduling problem | ||
// but lighter weight | ||
|
||
class Queue { | ||
|
||
|
||
} | ||
|
||
export default Queue; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class Timer { | ||
|
||
protected timer: ReturnType<typeof setTimeout>; | ||
public readonly timerP: Promise<void>; | ||
protected _timedOut: boolean; | ||
|
||
} |