Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
open(
data: any,
callbacks: any,
metadata?: any,
buffers?: ArrayBuffer[] | ArrayBufferView[]
): string {
const message = createCommOpenMessage(
this.comm_id,
this.target_name,
this.flattenBufferArrays(buffers),
this.target_module
);
this.kernel.channels.next(message);
return message.header.msg_id;
}