.NET API 238,592 bytes
ActionFuture
using System;
using System.
Threading;
namespace DotNext.
Runtime.
CompilerServices
{
internal sealed class ActionFuture :
AsyncDelegateFuture<
Action>
{
internal ActionFuture(
CancellationToken token)
:
base(
token)
{
}
private protected override void InvokeOne(
Action handler)
{
handler();
}
}
}