F
findLazy
Resolves a module matching filter once it loads, without ever loading it.
function findLazy(filter: MetroFilter, options?: MetroLazySearchOptions): anyParameters
| Name | Type | Description |
|---|---|---|
| filter | MetroFilter | The filter to match against. |
| options? | MetroLazySearchOptions | Whether to also match the |
Returns
anyThe loaded module, or a promise of the module once Discord loads it, or of undefined if signal aborts first
or a full search of this Discord build found the module missing.