using System;
namespace JavaScriptEngineSwitcher.Node
{
///
/// Settings of the Node JS engine
///
public sealed class NodeSettings
{
///
/// Gets or sets a interval to wait before the script execution times out
///
public TimeSpan TimeoutInterval
{
get;
set;
}
///
/// Gets or sets a flag for whether to use the Node.js built-in library
///
public bool UseBuiltinLibrary
{
get;
set;
}
///
/// Constructs an instance of the Node settings
///
public NodeSettings()
{
TimeoutInterval = TimeSpan.Zero;
UseBuiltinLibrary = false;
}
}
}