for await (let channel of channels) {
        let record;
        const channelType = channel[0];
        channel = channel.substr(1);