namespace Torch.API.Session
{
///
/// Represents the state of a
///
public enum TorchSessionState
{
///
/// The session has been created, and is now loading.
///
Loading,
///
/// The session has loaded, and is now running.
///
Loaded,
///
/// The session was running, and is now unloading.
///
Unloading,
///
/// The session was unloading, and is now unloaded and stopped.
///
Unloaded
}
///
/// Callback raised when a session's state changes
///
/// The session who had a state change
/// The session's new state
public delegate void TorchSessionStateChangedDel(ITorchSession session, TorchSessionState newState);
}