Wrap aCallable with its command's argument de-serialization and result serialization logic.

ParametersaCallablea callable with a 'command' attribute, designed to be called with keyword arguments.
commandthe command class whose serialization to use.
Returnsa 1-arg callable which, when invoked with an AmpBox, will deserialize the argument list and invoke appropriate user code for the callable's command, returning a Deferred which fires with the result or fails with an error.
Function doit Undocumented
def doit(box): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.