Skip to content

Instantly share code, notes, and snippets.

@LaylBongers
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save LaylBongers/b4d149b3730b626dfaf2 to your computer and use it in GitHub Desktop.

Select an option

Save LaylBongers/b4d149b3730b626dfaf2 to your computer and use it in GitHub Desktop.
// Non-fluent
var loop = new Loop(() => Update(data), 60);
// Fluent
var loop = Loop
.For(() => Update(data))
.PerSecond(60);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment