• 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.

    Returns IStateSchema<any>

    getState