We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func BuildRequests(context context.Context, task *FutureTask, size int) *Request { tasks := make([]*FutureTask, 0, size) tasks = append(tasks, task) return &Request{Ctx: context, Tasks: tasks, TaskCount: size, CompletedChannel: make(chan bool)} }
compared to
func BuildSingleRequest(context context.Context, task *FutureTask) *Request { tasks := make([]*FutureTask, 1) tasks = append(tasks, task) return &Request{Ctx: context, Tasks: tasks} }
The text was updated successfully, but these errors were encountered:
A new type to shorten the closure function construct and issue #18 cl…
51ef2c4
…osed
Fixed
Sorry, something went wrong.
No branches or pull requests
compared to
The text was updated successfully, but these errors were encountered: