yog-script-analyze 0.4.0

Yog Script (.ys, .yns) analyzed: its lexer, parser and syntax tree, names resolved, the class index model — what the build and the editors read a source with.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace System.Threading;

using System.Threading.Tasks;

/// A flag threads wait for (.NET's `ManualResetEventSlim`; `autoReset`: an
/// `AutoResetEvent`, letting one waiter through for each `Set`).
[Intrinsic]
public readonly class Signal {
    public Signal(bool initialState = false, bool autoReset = false) {}

    public void Set();
    public void Reset();
    public void Wait();
    /// As `Wait()`, at most `timeout`: whether it was set.
    public bool Wait(TimeSpan timeout);
    public Task WaitAsync();
    public bool IsSet { get; }
}