Skip to content
#

priority-queue

Here are 341 public repositories matching this topic...

serge1peshcoff
serge1peshcoff commented Jul 18, 2017

It would be really cool to have the documentation on each method/event that we can use. We can look into README.md for that, but I think it'll be way more better if we had the separate page that describes each API method/event that we can subscribe to, what arguments it accepts, what does it return, how it works, which errors can it throw etc.

This could be implemented by using the Github Wiki,

📚 collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book

  • Updated Apr 16, 2020
  • TypeScript
WazWaz
WazWaz commented Oct 15, 2019

It appears that the documentation of FastPriorityQueueNode.Priority is from some previous version as it talks about setting the Priority in the constructor of the node, and yet FastPriorityQueue.Enqueue now has the priority as a parameter, so it seems wrong for the node to be setting anything, and sure enough, the example doesn't.

Is it the example or the Priority documentation that is misleadi

susamn
susamn commented Apr 11, 2020

Currently, we post new job to balancer and wait on the request CompletedChannel from the user side, like this:

balancer.PostJob(request)
<-request.CompletedChannel

We should merge this together and have one method, which will either:

  • Fail immediately if the request validation fails
  • Block for the whole duration of the job, meaning the method should do the wait on the CompletedCha

Improve this page

Add a description, image, and links to the priority-queue topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the priority-queue topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.