.
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
export type AfterTask<T = unknown> = Promise<T> | AfterCallback<T>;
|
||||
export type AfterCallback<T = unknown> = () => T | Promise<T>;
|
||||
/**
|
||||
* This function allows you to schedule callbacks to be executed after the current request finishes.
|
||||
*/
|
||||
export declare function after<T>(task: AfterTask<T>): void;
|
||||
Reference in New Issue
Block a user