fastcs.wrappers#

Members

command

Decorator to tag a Controller method to be turned into a Command.

scan

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.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 a Command.

Parameters:

group – Group to display this command under in the transport layer