Preparing search index...
The search index is not available
EKO API
EKO API
types
LLMStreamHandler
Interface LLMStreamHandler
interface
LLMStreamHandler
{
onComplete
?:
(
response
:
LLMResponse
)
=>
void
;
onContent
?:
(
content
:
string
)
=>
void
;
onError
?:
(
error
:
Error
)
=>
void
;
onStart
?:
()
=>
void
;
onToolUse
?:
(
toolCall
:
ToolCall
)
=>
void
;
}
Index
Properties
on
Complete?
on
Content?
on
Error?
on
Start?
on
Tool
Use?
Properties
Optional
on
Complete
onComplete
?:
(
response
:
LLMResponse
)
=>
void
Optional
on
Content
onContent
?:
(
content
:
string
)
=>
void
Optional
on
Error
onError
?:
(
error
:
Error
)
=>
void
Optional
on
Start
onStart
?:
()
=>
void
Optional
on
Tool
Use
onToolUse
?:
(
toolCall
:
ToolCall
)
=>
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
on
Complete
on
Content
on
Error
on
Start
on
Tool
Use
EKO API
Loading...