Tutorial: Channel.getAllClientInfo

Channel.getAllClientInfo

Returns an array with info on every Client connected to the Provider

Example

const provider = await fin.InterApplicationBus.Channel.create('openfin');
const client = await fin.InterApplicationBus.Channel.connect('openfin');
const clientInfo = await provider.getAllClientInfo();

console.log(clientInfo);

// [
//    {
//        "uuid": "openfin",
//        "name": "openfin-view",
//        "endpointId": "6d4c7ca8-4a74-4634-87f8-760558229613",
//        "entityType": "view",
//        "url": "https://openfin.co"
//    },
//    {
//        "uuid": "openfin2",
//        "name": "openfin-view2",
//        "endpointId": "4z5d8ab9-2b81-3691-91ex-142179382511",
//        "entityType": "view",
//        "url": "https://example.com"
//    }
//]