langchain.js
Preparing search index...
langsmith
client
AutoBatchQueue
Class AutoBatchQueue
Index
Constructors
constructor
Properties
items
size
Bytes
Methods
peek
pop
push
Constructors
constructor
new
AutoBatchQueue
()
:
AutoBatchQueue
Returns
AutoBatchQueue
Properties
items
items
:
{
action
:
"create"
|
"update"
;
apiKey
?:
string
;
apiUrl
?:
string
;
itemPromise
:
Promise
<
void
>
;
itemPromiseResolve
:
()
=>
void
;
otelContext
?:
OTELContext
;
payload
:
RunCreate
|
RunUpdate
;
size
:
number
;
}
[]
= []
size
Bytes
sizeBytes
:
number
= 0
Methods
peek
peek
()
:
{
action
:
"create"
|
"update"
;
apiKey
?:
string
;
apiUrl
?:
string
;
itemPromise
:
Promise
<
void
>
;
itemPromiseResolve
:
()
=>
void
;
otelContext
?:
OTELContext
;
payload
:
RunCreate
|
RunUpdate
;
size
:
number
;
}
Returns
{
action
:
"create"
|
"update"
;
apiKey
?:
string
;
apiUrl
?:
string
;
itemPromise
:
Promise
<
void
>
;
itemPromiseResolve
:
()
=>
void
;
otelContext
?:
OTELContext
;
payload
:
RunCreate
|
RunUpdate
;
size
:
number
;
}
pop
pop
(
__namedParameters
:
{
upToSize
:
number
;
upToSizeBytes
:
number
}
,
)
:
[
AutoBatchQueueItem
[]
,
()
=>
void
]
Parameters
__namedParameters
:
{
upToSize
:
number
;
upToSizeBytes
:
number
}
Returns
[
AutoBatchQueueItem
[]
,
()
=>
void
]
push
push
(
item
:
AutoBatchQueueItem
)
:
Promise
<
void
>
Parameters
item
:
AutoBatchQueueItem
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
items
size
Bytes
Methods
peek
pop
push
langchain.js
Loading...