// Copyright (c) Alexander Bogarsukov.
// Licensed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using UnityEngine;
using UnityEngine.Networking;
namespace UnityFx.Tasks.CompilerServices
{
///
/// Provides an awaitable object that allows for configured awaits on .
/// This type is intended for compiler use only.
///
///
///
public struct AssetBundleRequestAwaitable where T : UnityEngine.Object
{
private readonly AssetBundleRequestAwaiter _awaiter;
public AssetBundleRequestAwaitable(AssetBundleRequest op)
{
_awaiter = new AssetBundleRequestAwaiter(op);
}
public AssetBundleRequestAwaiter GetAwaiter()
{
return _awaiter;
}
}
}