/// Create a Runner without a rate limiter.
///
/// # Warning
/// This is not advisable and goes against the 'rules' of the API.
///
/// You should prefer to use [`Runner::new`](#method.new) to use a default rate limiter
///
/// Or, [`Runner::new_with_rate_limit`](#method.new_with_rate_limit) if you
/// know your 'bot' status is higher than normal.
///
/// # Returns
/// This returns the [`Runner`] and a [`Control`] type that'll let you interact with the Runner.
///
/// [`Runner`]: ./struct.Runner.html
/// [`Control`]: ./struct.Control.html
Create a Runner without a rate limiter.
Create a Runner without a rate limiter .
pub fn new_without_rate_limit(dispatcher: Dispatcher) -> (Runner, Control) {
        let (sender, receiver) = mpsc::channel(64);
        let stop = abort::Abort::default();
        let writer = Writer::new(writer::MpscWriter::new(sender));
        let ready = Arc::new(tokio::sync::Notify::default());
        let this = Self {
            dispatcher,
            receiver,
            abort: stop.clone(),
            writer: writer.clone(),
            ready: ready.clone(),
        };
        let control = Control {
            writer,
            stop,
            ready,
        };
        (this, control)
    }
pub fn new_without_rate_limit ( dispatcher : Dispatcher ) -> ( Runner , Control ) { let ( sender , receiver ) = mpsc :: channel ( 64 ) ; let stop = abort :: Abort :: default ( ) ; let writer = Writer :: new ( writer :: MpscWriter :: new ( sender ) ) ; let ready = Arc :: new ( tokio :: sync :: Notify :: default ( ) ) ; let this = Self { dispatcher , receiver , abort : stop . clone ( ) , writer : writer . clone ( ) , ready : ready . clone ( ) , } ; let control = Control { writer , stop , ready , } ; ( this , control ) }
Create a Runner without a rate limiter.
Create a Runner without a rate limiter .
This returns the [`Runner`] and a [`Control`] type that'll let you interact with the Runner.

[`Runner`]: ./struct.Runner.html
[`Control`]: ./struct.Control.html
This returns the [ ` Runner ` ] and a [ ` Control ` ] type that ' ll let you interact with the Runner . [ ` Runner ` ] : . / struct . Runner . html [ ` Control ` ] : . / struct . Control . html
dispatcher
Dispatcher
warning
This is not advisable and goes against the 'rules' of the API.

You should prefer to use [`Runner::new`](#method.new) to use a default rate limiter

Or, [`Runner::new_with_rate_limit`](#method.new_with_rate_limit) if you
know your 'bot' status is higher than normal.
This is not advisable and goes against the ' rules ' of the API . You should prefer to use [ ` Runner :: new ` ] ( #method . new ) to use a default rate limiter Or [ ` Runner :: new_with_rate_limit ` ] ( #method . new_with_rate_limit ) if you know your ' bot ' status is higher than normal .