class Async::Pool::Controller

def as_json(...)

Generate a JSON representation of the pool.
def as_json(...)
	{
		limit: @limit,
		concurrency: @guard.limit,
		usage: @resources.size,
		availability_summary: self.availability_summary,
	}
end