Init
This commit is contained in:
11
Prefab/Handler/NoRequest.cs
Normal file
11
Prefab/Handler/NoRequest.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Prefab.Handler;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a sentinel value indicating the absence of a request.
|
||||
/// </summary>
|
||||
/// <remarks>Use this type when an operation or API requires a value to signify that no request is present. This
|
||||
/// can be useful in scenarios where a method or handler expects a request type but no data is needed.</remarks>
|
||||
public readonly record struct NoRequest
|
||||
{
|
||||
public static readonly NoRequest Instance = default;
|
||||
}
|
||||
Reference in New Issue
Block a user