Properties
Protected
abort
abort: ((text: string) => void)
Type declaration
-
- (text: string): void
-
Returns void
Protected
ask
ask
: ((text
: string, options
?: TAskOptions) => Promise<string | string[]>)
Type declaration
-
- (text: string, options?: TAskOptions): Promise<string | string[]>
-
Returns Promise<string | string[]>
Protected
error
error: ((text: string) => void)
Type declaration
-
- (text: string): void
-
Returns void
Protected
fetchJson
fetch
Json
: (<T>(url
: string, options
?: RequestInit) => Promise<TFetchReturnValue<T>>)
Type declaration
-
- <T>(url: string, options?: RequestInit): Promise<TFetchReturnValue<T>>
-
Parameters
-
url: string
-
Optional
options: RequestInit
Protected
fetchText
fetch
Text
: ((url
: string, options
?: RequestInit) => Promise<TFetchReturnValue<string>>)
Type declaration
-
- (url: string, options?: RequestInit): Promise<TFetchReturnValue<string>>
-
Parameters
-
url: string
-
Optional
options: RequestInit
Protected
subtask
subtask: ((title: string) => void)
Type declaration
-
- (title: string): void
-
Returns void
Protected
success
success: ((text: string) => void)
Type declaration
-
- (text: string): void
-
Returns void
Protected
taskId
taskId: string
Throws
!always FalkorError: TaskHostErrorCodes.SUBTASK_ABORT