thebe-core / Exports / ThebeSession
Table of contents¶
Constructors¶
Properties¶
Accessors¶
Methods¶
Constructors¶
constructor¶
• new ThebeSession(server
, connection
)
Parameters¶
Name | Type |
---|---|
server | ThebeServer |
connection | ISessionConnection |
Defined in¶
packages/core/src/session.ts:14
Properties¶
connection¶
• Private
connection: ISessionConnection
Defined in¶
packages/core/src/session.ts:11
events¶
• Private
events: EventEmitter
Defined in¶
packages/core/src/session.ts:12
manager¶
• Readonly
manager: ThebeManager
Defined in¶
packages/core/src/session.ts:9
server¶
• Readonly
server: ThebeServer
Defined in¶
packages/core/src/session.ts:8
Accessors¶
id¶
• get
id(): string
Returns¶
string
Defined in¶
packages/core/src/session.ts:28
kernel¶
• get
kernel(): null
| IKernelConnection
Returns¶
null
| IKernelConnection
Defined in¶
packages/core/src/session.ts:32
name¶
• get
name(): string
Returns¶
string
Defined in¶
packages/core/src/session.ts:40
path¶
• get
path(): string
Returns¶
string
Defined in¶
packages/core/src/session.ts:36
Methods¶
dispose¶
▸ dispose(): void
Returns¶
void
Defined in¶
packages/core/src/session.ts:70
restart¶
▸ restart(): Promise
<void
>
Returns¶
Promise
<void
>
Defined in¶
packages/core/src/session.ts:44
shutdown¶
▸ shutdown(): Promise
<void
>
Returns¶
Promise
<void
>