Function: publishSelection()
publishSelection(
port,clientId,contribution,timeoutMs?):Promise<PublishResult>
Defined in: packages/aiui-vscode/src/channels.ts:128
Send a selection to one of a channel's views over POST /session/publish. Resolves with the server's ack or nack (a nack is a result, not a throw); throws only when the server itself is unreachable.
Parameters
port
number
clientId
string
contribution
timeoutMs?
number = 4000
Returns
Promise<PublishResult>