amphp / sync

Non-blocking synchronization primitives for PHP based on Amp and Revolt.

Home Page:https://amphp.org/sync

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing example

enumag opened this issue · comments

Can you give me an example how to actually use this library? The documentation only contains the interfaces but nothing else. I assume that I don't actually need to implement them since this package already contains implementations. So how do I use them?

I've added two basic examples, more examples as PR welcome!

Thanks!