[][src]Function hexchat::add_reply_listener_once

pub fn add_reply_listener_once<T>(
    priority: Priority,
    function: impl Fn(T, DateTime<Utc>) -> EatMode + 'static
) where
    T: ServerReply

Adds a reply listener as defined in add_reply_listener, and removes it after receiving a single reply.