Skip to content

Instantly share code, notes, and snippets.

private void Background()
{
var count = 0;
var stopwatch = new System.Diagnostics.Stopwatch();
while(true)
{
stopwatch.Restart();
Thread.Sleep(1000);
Console.WriteLine($"{_id} / {count} / {stopwatch.ElapsedMilliseconds}");
@zaccharles
zaccharles / Handler.cs
Last active January 12, 2019 00:10
blog-warm-lambdas
public class Handler
{
private Guid _id;
public Handler()
{
_id = Guid.NewGuid();
new Thread(Background).Start();
}

Keybase proof

I hereby claim:

  • I am zaccharles on github.
  • I am zaccharles (https://keybase.io/zaccharles) on keybase.
  • I have a public key whose fingerprint is CEEF BBBA BDAC D613 BACD 6949 1153 AEDD 86D0 BD96

To claim this, I am signing this object: