Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.32 KB

ABServicePublish.md

File metadata and controls

35 lines (24 loc) · 1.32 KB

ABServicePublish ⇐ ABServiceCote

Kind: global class
Extends: ABServiceCote

abServicePublish.publish(key, data)

Publish an update to other subscribed services.

Kind: instance method of ABServicePublish

Param Type Description
key string the channel we are updating.
data json the data packet to send to the subscribers.

abServicePublish.toParam(key, data)

toParam() repackage the current data into a common format between our services

Kind: instance method of ABServicePublish

Param Type Description
key string The cote request key that identifies which service we are sending our request to.
data json The data packet we are providing to the service.