ExtractorExecutionContext
new ExtractorExecutionContext(player)
Parameter | Type | Optional | Description |
---|---|---|---|
player | Player | ❌ | - |
Properties
public player: Player
public store: Collection<string, BaseExtractor>
public size: number
Methods
public get(identifier): undefined | BaseExtractor
Parameter | Type | Optional | Description |
---|---|---|---|
identifier | string | ❌ | - |
public isRegistered(identifier): boolean
Parameter | Type | Optional | Description |
---|---|---|---|
identifier | string | ❌ | - |
public loadDefault(): Promise<{ error: Error,success: boolean } | { error: null,success: boolean }>
public register(_extractor): Promise<void>
Parameter | Type | Optional | Description |
---|---|---|---|
_extractor | (typeof BaseExtractor) | ❌ | - |
public run(fn, filterBlocked): Promise<null | ExtractorExecutionResult<T>>
Parameter | Type | Optional | Description |
---|---|---|---|
fn | ExtractorExecutionFN<T> | ❌ | - |
filterBlocked | boolean | ❌ | - |
public unregister(_extractor): Promise<void>
Parameter | Type | Optional | Description |
---|---|---|---|
_extractor | K | ❌ | - |