MCPcopy Create free account
hub / github.com/Libera-Chat/sable / dispatch_command

Method dispatch_command

sable_ircd/src/command/dispatcher.rs:56–69  ·  view source on GitHub ↗

Look up and execute the handler function for to a given command. Returns `Some` if the handler is asynchronous and needs to be polled; `None` if the command was handled synchronously

(
        &self,
        command: impl Command + 'cmd,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

dispatch_alias_commandFunction · 0.80
handle_csFunction · 0.80
handle_csFunction · 0.80

Calls 3

getMethod · 0.45
commandMethod · 0.45
notify_errorMethod · 0.45

Tested by

no test coverage detected