forked from wylab/llama-swap
6299c1b874
* vendor in kelindar/event lib and refactor to remove time.Ticker
The code in event was originally a part of https://github.com/kelindar/event (v1.5.2)
The original code uses a time.Ticker to process the event queue which caused a large increase in CPU usage (#189). This code was ported to remove the ticker and instead be more event driven.