ConsoleTimeOutReader 3.0.0

Time Out functionality to Console.Readline. when you need user to enter input within say 5 second else proceed with default value or ahead..(cant wait forever for user)

Install-Package ConsoleTimeOutReader -Version 3.0.0
dotnet add package ConsoleTimeOutReader --version 3.0.0
<PackageReference Include="ConsoleTimeOutReader" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConsoleTimeOutReader --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

----uSAGE----

using ConsoleTimeOutReader; //aDD NAMESPACE
using System;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{

        Console.WriteLine(TTReader.Read("123",7) ); //uSE  HERE
    }
}

}

----uSAGE----

using ConsoleTimeOutReader; //aDD NAMESPACE
using System;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{

        Console.WriteLine(TTReader.Read("123",7) ); //uSE  HERE
    }
}

}

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
3.0.0 111 10/29/2018