fastcs.wrappers#

Members

command

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

put

Sets up a put over the wrapped method.

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

Parameters:

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