• Retrieves a state schema by its name from the swarm's state schema service. Logs the operation if logging is enabled in the global configuration.

    Parameters

    • stateName: string

      The name of the state to retrieve.

    Returns IStateSchema<any>

    The state schema associated with the provided state name.

    getState