﻿using System;
using System.Threading.Tasks;

namespace Rocket
{
    /// <summary>
    /// Asset object interface.
    /// </summary>
    public interface IAsset : IDisposable
    {
        /// <summary>
        /// Gets the task that indicates whether the asset is ready for use.
        /// </summary>
        /// <value>The task that indicates whether the asset is ready for use.</value>
        Task Ready { get; }
    }
}
