A11 TypeScript API - v0.7.26
A11 guides
Python API
C++ internals
Preparing search index...
SessionCreateOptions
Interface SessionCreateOptions
Buffer, concurrency, and lifetime limits for a native session.
interface
SessionCreateOptions
{
deadline
?:
WireDeadline
;
headers
?:
ByteMapInput
;
id
?:
string
;
maxBufferedBytesPerStream
?:
number
;
maxBufferedBytesTotal
?:
number
;
maxBufferedMessagesPerStream
?:
number
;
maxBufferedMessagesTotal
?:
number
;
maxConcurrentNestedActions
?:
number
;
maxConcurrentRootActions
?:
number
;
maxSingleMessageSize
?:
number
;
noStreamTimeoutMs
?:
number
|
null
;
onStreamDone
?:
(
stream
:
WireStream
,
session
:
GraphSession
,
)
=>
void
|
Status
|
Promise
<
(void | Status)
>
;
onStreamMessage
?:
(
message
:
WireMessage
|
null
,
stream
:
WireStream
,
session
:
GraphSession
,
)
=>
void
|
Status
|
Promise
<
(void | Status)
>
;
}
Hierarchy (
View Summary
)
SessionOptions
SessionCreateOptions
Index
Properties
deadline?
headers?
id?
max
Buffered
Bytes
Per
Stream?
max
Buffered
Bytes
Total?
max
Buffered
Messages
Per
Stream?
max
Buffered
Messages
Total?
max
Concurrent
Nested
Actions?
max
Concurrent
Root
Actions?
max
Single
Message
Size?
no
Stream
Timeout
Ms?
on
Stream
Done?
on
Stream
Message?
Properties
Optional
deadline
deadline
?:
WireDeadline
Optional
headers
headers
?:
ByteMapInput
Optional
id
id
?:
string
Optional
max
Buffered
Bytes
Per
Stream
maxBufferedBytesPerStream
?:
number
Optional
max
Buffered
Bytes
Total
maxBufferedBytesTotal
?:
number
Optional
max
Buffered
Messages
Per
Stream
maxBufferedMessagesPerStream
?:
number
Optional
max
Buffered
Messages
Total
maxBufferedMessagesTotal
?:
number
Optional
max
Concurrent
Nested
Actions
maxConcurrentNestedActions
?:
number
Optional
max
Concurrent
Root
Actions
maxConcurrentRootActions
?:
number
Optional
max
Single
Message
Size
maxSingleMessageSize
?:
number
Optional
no
Stream
Timeout
Ms
noStreamTimeoutMs
?:
number
|
null
Optional
on
Stream
Done
onStreamDone
?:
(
stream
:
WireStream
,
session
:
GraphSession
,
)
=>
void
|
Status
|
Promise
<
(void | Status)
>
Optional
on
Stream
Message
onStreamMessage
?:
(
message
:
WireMessage
|
null
,
stream
:
WireStream
,
session
:
GraphSession
,
)
=>
void
|
Status
|
Promise
<
(void | Status)
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
deadline
headers
id
max
Buffered
Bytes
Per
Stream
max
Buffered
Bytes
Total
max
Buffered
Messages
Per
Stream
max
Buffered
Messages
Total
max
Concurrent
Nested
Actions
max
Concurrent
Root
Actions
max
Single
Message
Size
no
Stream
Timeout
Ms
on
Stream
Done
on
Stream
Message
A11 guides
Python API
C++ internals
A11 TypeScript API - v0.7.26
Loading...
Buffer, concurrency, and lifetime limits for a native session.