This is part of scalecube-js project, see more at https://github.com/scalecube/scalecube-js
Full documentation
Index is responsible for picking the right Item from a Item[].
Pick the first available item. This is very good option for monolith (When all the services are one the same microservice instance) applications built with scalecube
Pick the first available item, Retry if service not found
period
- interval between retry, maxRetry
- how much retries before giving up
This is the prefer behavior for browsers
Pick the next item from a list of available items.
This is very common router for servers