InlineScheduler
using System.Runtime.CompilerServices;
namespace System.IO.Pipelines
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
internal sealed class InlineScheduler : PipeScheduler
{
public override void Schedule([System.Runtime.CompilerServices.Nullable(new byte[] {
1,
2
})] Action<object> action, object state)
{
action(state);
}
internal override void UnsafeSchedule([System.Runtime.CompilerServices.Nullable(new byte[] {
1,
2
})] Action<object> action, object state)
{
action(state);
}
}
}