fastcs.wrappers
#
Members
Decorator to tag a |
|
Sets up a put over the wrapped method. |
|
Sets up a scan over the wrapped method. |
- fastcs.wrappers.scan(period: float) Callable[[Callable[[Controller_T], Coroutine[None, None, None]]], UnboundScan[Controller_T]] [source]#
Sets up a scan over the wrapped method.
- fastcs.wrappers.put(fn: Callable[[Controller_T, Any], Coroutine[None, None, None]]) UnboundPut[Controller_T] [source]#
Sets up a put over the wrapped method.
- fastcs.wrappers.command(*, group: str | None = None) Callable[[Callable[[Controller_T], Coroutine[None, None, None]]], UnboundCommand[Controller_T]] [source]#
Decorator to tag a
Controller
method to be turned into aCommand
.- Parameters:
group – Group to display this command under in the transport layer