Home Reference Source
import {TalkerAPI} from 'cables-shared-client'
public class | source

TalkerAPI

Extends:

cables_dev/shared/client/eventtarget.js~Events → TalkerAPI

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private
private
private

_talker: *

Method Summary

Public Methods
public

send(cmd: *, data: *, cb: *)

send message via cables-talkerapi

Public Constructors

public constructor() source

Private Members

private _callbackCounter: number source

private _callbacks: {} source

private _talker: * source

Public Methods

public send(cmd: *, data: *, cb: *) source

send message via cables-talkerapi

Params:

NameTypeAttributeDescription
cmd *

name of the event

data *

payload

cb *

callback