cc-everywhere

Type Alias: PublishCallback()

type PublishCallback = (intent, publishParams) => void | Promise<PublishStatus>;

Keeping callback type as void | Promise&lt;PublishStatus&gt; for the publish operation, to handle promises as well

Parameters

Parameter
Type
intent
ActionIntent
publishParams
PublishParams

Returns

void | Promise<PublishStatus>