Skip to content

This package provides helper functions that convert the Delegate class to the Task class.

License

Notifications You must be signed in to change notification settings

rkttu/Delegates

Repository files navigation

Delegates

This package provides helper functions that convert the Delegate class to the Task class.

Example

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClouDeveloper.Delegates;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            new Action(() => Console.WriteLine("Hello, World!")).ToTask().Wait();
        }
    }
}

About

This package provides helper functions that convert the Delegate class to the Task class.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages