#1 Followed the MagicOnion quickstart guide, borrowing code from the chat sample app to get something working
15 lines
244 B
C#
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
|
|
|
|
}
|
|
}
|