GitXplorerGitXplorer
l

async-yield-example

public
2 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
8508f459e557664b52ee2fd4605d5bffcc3eecb9

Make impossible states unrepresentable

llambdageek committed 4 years ago
Unverified
87a82d971fe5f352769c0490617bb912d334c322

Some code

llambdageek committed 4 years ago
Verified
f28d78ab3aec735c84ad7d914cda81e52306be5c

Initial commit

llambdageek committed 4 years ago

README

The README file for this repository.

An exercise in using async yield

A simple stream generator FSWGen that hooks up to a FileSystemWatcher and yields a stream of events.

Building

dotnet build

Running

dotnet run -- /tmp *.txt

And in a separate console,

touch /tmp/a.txt
touch /tmp/b.txt
touch /tmp/a.txt
rm /tmp/{a,b}.txt

Then hit Ctrl-C to terminate the watcher.