Skip to content

Commit 4ee136e

Browse files
authored
Expose sendMessage to subclasses (#214)
1 parent ae42181 commit 4ee136e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/xeus/src/web_worker_kernel.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ export class WebWorkerKernel implements IKernel {
161161
return this._location;
162162
}
163163

164+
/**
165+
* Send kernel message to the client
166+
*/
167+
protected get sendMessage(): IKernel.SendMessage {
168+
return this._sendMessage;
169+
}
170+
164171
/**
165172
* Process a message coming from the coincident web worker.
166173
*

0 commit comments

Comments
 (0)