summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
72695f8)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
/**
* Executes a function once at a time.
/**
* Executes a function once at a time.
+ *
+ * @param fn - The function to execute.
+ * @param context - The context to bind the function to.
+ * @returns The function to execute.
private once (
// eslint-disable-next-line @typescript-eslint/no-explicit-any
fn: (...args: any[]) => void,
private once (
// eslint-disable-next-line @typescript-eslint/no-explicit-any
fn: (...args: any[]) => void,