views:

81

answers:

1

The System.Reactive.dll adds a class AsyncLock to System.Concurrency. It has a single instance method, Wait, that takes an Action.

The documentation page I found just tells it it pre-release documentation, so I ask here: What does this class do?

A: 

Looks like some sort of thread-safe queue that executes actions in sequential order. I see it's used in RX's schedulers.

You might wish to confirm with the RX team.

Judah Himango