Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
//ライブラリ側のコード
public class DeadlockSample
{
public static async Task DoAsync()
{
//規定のawaitだとライブラリユーザにWaitされた場合デッドロックになる可能性がある
await HeavyWorkAsync();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment