chore(helpers) drop custom createDeferred() for Promise.withResolvers()

This commit is contained in:
Saúl Ibarra Corretgé
2024-10-22 14:23:27 +02:00
committed by Saúl Ibarra Corretgé
parent 4e0001c9af
commit 5bb3ba71d0
11 changed files with 1443 additions and 557 deletions

View File

@@ -27,11 +27,9 @@ export interface IProps {
*/
export class AbstractApp<P extends IProps = IProps> extends BaseApp<P> {
/**
* The deferred for the initialisation {{promise, resolve, reject}}.
* The deferred for the initialization {{promise, resolve, reject}}.
*/
_init: {
promise: Promise<any>;
};
_init: PromiseWithResolvers<any>;
/**
* Initializes the app.