DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.0.0-beta.4" />

.NET API 394,712 bytes

 SupplierClosure<TContext, T, TResult>

public struct SupplierClosure<TContext, T, TResult> : ISupplier<T, TResult>
Represents implementation of ISupplier<T, U> interface with the support of closure that is not allocated on the heap.
public bool IsEmpty { get; }

Gets a value indicating that this function pointer is zero.

public SupplierClosure(method ptr, TContext context)