elastic / elastic/cloud-sdk-go

Create task-specific pools

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
23
Forks
52
PR merge metrics
No merged PRs in 30d

Description

## Overview

the `sync/pool` package is very verbose at the moment and operating it requires a lot of boilerplate code for task specific pools.

It'd be best if we had some abstractions built on top which are purpose-specific rather than catering for all possible cases of a pool.

## Possible Implementation

Adding a `sync/poolutil` package with at least the worker use case.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.