Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
private async Task AddSensorData()
{
SensorTickerFactory sensorTickerFactory = new SensorTickerFactory();
for (int i = 0; i < 10; i++)
{
var tick = sensorTickerFactory.GetSensorTick();
await AddSensorTickIfNotExists(tick);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment