Aetheria/Assets/Scripts/MagicOnion/Utils/TaskEx.cs
hyperion51 a0c8dbee72 Initial Client/Server Communication
#1
Followed the MagicOnion quickstart guide, borrowing code from the chat sample app to get something working
2020-02-26 17:48:40 +00:00

15 lines
244 B
C#

using System.Threading.Tasks;
namespace MagicOnion
{
internal static class TaskEx
{
public static readonly Task CompletedTask =
#if net45
Task.FromResult(0);
#else
Task.CompletedTask;
#endif
}
}