// 32feet.NET - Personal Area Networking for .NET
//
// InTheHand.Net.AsyncResultCompletion
//
// Copyright (c) 2010 In The Hand Ltd, All rights reserved.
// Copyright (c) 2010 Alan J McFarlane, All rights reserved.
// This source code is licensed under the MIT License
namespace InTheHand.Net
{
///
/// Used with
///
/// AsyncResultNoResult.SetAsCompleted and
///
/// AsyncResult<TResult>.SetAsCompleted.
///
internal enum AsyncResultCompletion
{
///
/// Equivalent to true for the
/// #x201C;completedSynchronously” parameter.
///
IsSync,
///
/// Equivalent to false for the
/// #x201C;completedSynchronously” parameter.
///
IsAsync,
///
/// Forces the callback to run on a thread-pool thread.
///
MakeAsync
}
}