Preparing search index...
The search index is not available
LiveKit Agents
LiveKit Agents
agents
Agent
Interface Agent<ProcessUserData>
See
defineAgent
interface
Agent
<
ProcessUserData
>
{
entry
:
(
(
ctx
)
=>
Promise
<
void
>
)
;
prewarm
?:
(
(
proc
)
=>
unknown
)
;
}
Type Parameters
ProcessUserData
=
Record
<
string
,
unknown
>
Index
Properties
entry
prewarm?
Properties
entry
entry
:
(
(
ctx
)
=>
Promise
<
void
>
)
Type declaration
(
ctx
)
:
Promise
<
void
>
Parameters
ctx
:
JobContext
<
ProcessUserData
>
Returns
Promise
<
void
>
Optional
prewarm
prewarm
?:
(
(
proc
)
=>
unknown
)
Type declaration
(
proc
)
:
unknown
Parameters
proc
:
JobProcess
<
ProcessUserData
>
Returns
unknown
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
entry
prewarm
LiveKit Agents
Loading...
See
defineAgent