Skip to main content

EngineConnector

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new EngineConnector(uid, opts, parent)

Parameters

NameType
uidstring
optsKeyValue
parentstring

Overrides

EventEmitter.constructor

Properties

channel

Optional Readonly channel: string


parent

Readonly parent: string


type

Readonly type: "output" | "input" | "code_block"


uid

Readonly uid: string

Methods

call

call(data): any

Call function when using code block

Parameters

NameType
dataany

Returns

any


close

close(): void

Returns

void


off

off(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any

Inherited from

EventEmitter.off


on

on(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any

Inherited from

EventEmitter.on


output

output(data): void

Output data when using output

Parameters

NameType
dataany

Returns

void