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.
#r "nuget: ConsoleTimeOutReader, 3.0.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

----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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 402 10/29/2018