-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: moved contributing to docs, refined upgrading and concepts docu…
…mentation
- Loading branch information
Showing
4 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Upgrade Guide | ||
|
||
This document describes the breaking changes introduced in each major version of MyLibraryJS and the necessary steps you need to take to ensure your application continues to work correctly. | ||
This document describes the breaking changes introduced in each major version of `golem-js` and the necessary steps you need to take to ensure your application continues to work correctly. | ||
|
||
## Upgrading from 2.x to 3.x | ||
|
||
|
@@ -84,6 +84,18 @@ Areas where the changes are needed: | |
|
||
- Instead of referring the `TaskExecutor` instance in the `map` function, you need to switch to the `ExeUnit` instance provided by the `ResourceRental` | ||
|
||
> **IMPORTANT DIFFERENCE** | ||
> | ||
> `TaskExecutor` by default assumed that users want to run these commands in parallel, so it | ||
> was establishing up to 5 agreements with different providers and then sent out these | ||
> commands to different providers to leverage parallelism. | ||
> | ||
> With `[email protected]`, when you use `oneOf` to rent resources, you are establishing one agreement | ||
> with a single provider and the commands which you issue with `Array.map` will be executed | ||
> sequentially by that single provider. | ||
> | ||
> If you want to achieve _parallel command execution_ on different providers, refer to the [Engaging with many providers at the same time](#engaging-with-many-providers-at-the-same-time) example. | ||
**Before:** | ||
|
||
```ts | ||
|