pub async fn broadcast(&self, response: CustomApiResult<B::CustomApi>) {
        let clients = fast_async_read!(self.data.clients);
        for client in clients.values() {
            drop(client.send(response.clone()));
        }
    }
/// Sends a custom API response to all connected clients.
Sends a custom API response to all connected clients.
Sends a custom API response to all connected clients .
pub async fn broadcast(&self, response: CustomApiResult<B::CustomApi>) {
        let clients = fast_async_read!(self.data.clients);
        for client in clients.values() {
            drop(client.send(response.clone()));
        }
    }
pub async fn broadcast ( & self , response : CustomApiResult < B :: CustomApi > ) { let clients = fast_async_read ! ( self data clients ) ; for client in clients . values ( ) { drop ( client . send ( response . clone ( ) ) ) ; } }
Sends a custom API response to all connected clients.
Sends a custom API response to all connected clients .
&self
response
CustomApiResult<B::CustomApi>
&self
response
CustomApiResult<B::CustomApi>