Open in app
Alex Yakunin
615 Followers
About

Sign in

615 Followers
About
Open in app
Very nice trick :) The first Task.Yield()
3
1

Sergey Kozulin

Alex Yakunin

Alex Yakunin

Oct 23, 2015·1 min read

Yeah, you’re right :) Will share a bit more details soon, coz the second Yield is way more counter-intuitive, and I guess the fact that async behaves like this isn’t even described anywhere.

Written by

Alex Yakunin

CTO @ ServiceTitan.com, creator of https://github.com/servicetitan/Stl.Fusion

  • Recursion
  • Async Functions
  • Csharp

More from Alex Yakunin

CTO @ ServiceTitan.com, creator of https://github.com/servicetitan/Stl.Fusion

More From Medium

Geting 4x Speedup With .NET Core 3.0 SIMD Intrinsics

Alex Yakunin in ITNEXT

Introduction to Recursion and Merge Sort

Dr. Robert Kübler in Towards Data Science

Recursion: (In a Nutshell), (In a Nutshell), (In a Nutshell)

Elliott Stein in The Startup

How Similar Is Stl.Fusion to SignalR?

Alex Yakunin in The Startup

A Quick Guide to Writing AJAX Requests for JSON Files

Emmanuel Unyime in The Startup

Fusion: Current State and Upcoming Features

Alex Yakunin in The Startup

Generate HTML based PDF reports from Azure App Service

Wouter Huysentruit

Async Processing in Python — Make Data Pipelines Scream

Arup Nanda in Capital One Tech

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store