object88 / langd

A Language Server Protocol implementation in Go for Go
MIT License
7 stars 0 forks source link

Move caravan locks into caravan itself #28

Closed object88 closed 6 years ago

object88 commented 6 years ago

We are currently expecting the consumer of a caravan to lock around the API calls. This ends up with extra code around all call sites. Should move into the caravan and declare that the caravan is concurrency-safe.