Skip to content

callable_wrapper

fastmessage.callable_wrapper

CallableWrapper

CallableWrapper(
    *,
    fastmessage_handler,
    wrapped_callable,
    input_device_name,
    output_device_name=None
)

a helper class that wraps a callable

callable property

callable

the original callable that was passed to this wrapper

input_device_name property

input_device_name

the input device name for this callable

model property

model

the model that was created for this callable (if it has input params)

output_device_name property

output_device_name

the default output device name for this callable