mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 04:47:03 +02:00
MISC: change all nextUpdates to use one Promise (#1069)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// An object that contains a promise and its resolver (or possibly null)
|
||||
export type PromisePair<ReturnType> = {
|
||||
promise: Promise<ReturnType> | null;
|
||||
resolve: ((value: ReturnType) => void) | null;
|
||||
};
|
||||
Reference in New Issue
Block a user