class documentation

class UponFromNo(Generic[InputProtocol, Core, P, R]): (source)

View In Hierarchy

Type parameter P: the signature of the input method.

Method loop Register a transition back to the same state.
Method to Declare a state transition to a new state.
Class Variable input Undocumented
Class Variable old Undocumented
def loop(self) -> TransitionRegistrar[Concatenate[InputProtocol, Core, P], Concatenate[InputProtocol, P], R]: (source)

Register a transition back to the same state.

@overload
def to(self, state: TypedState[InputProtocol, Core]) -> TransitionRegistrar[Concatenate[InputProtocol, Core, P], P, R]:
@overload
def to(self, state: TypedDataState[InputProtocol, Core, OtherData, P]) -> TransitionRegistrar[Concatenate[InputProtocol, Core, P], Concatenate[InputProtocol, P], R]:
(source)

Declare a state transition to a new state.

input: Callable[Concatenate[InputProtocol, P], R] = (source)

Undocumented