Skip to content

Conversation

@chrisdp
Copy link
Contributor

@chrisdp chrisdp commented Dec 16, 2025

  • Use infoFields to reduce data cloning and rendezvous when handling promise callbacks.
  • pass promiseState and promiseResult into child functions to reduce cloning and rendezvous
  • add isPromiseEvent for future use when task support is added (Support observing promises in tasks #67)
  • get the promise ID from the nodeEvent when applicable in promise storage functions, which reduces cloning and rendezvous
  • remove the "__INVALID" parameter value in favor of passing a boolean from the call site

@TwitchBronBron TwitchBronBron changed the title Task/reduce data cloning Reduce data cloning Dec 16, 2025
@TwitchBronBron TwitchBronBron added the create-package create a temporary npm package on every commit label Dec 16, 2025
@rokucommunity-bot
Copy link
Contributor

Hey there! I just built a new temporary npm package based on 5c5bf79. You can download it here or install it by running the following command:

npm install https://github.com/rokucommunity/promises/releases/download/v0.0.0-packages/rokucommunity-promises-0.6.7-task-reduce-data-cloaning.20251216170839.tgz

@TwitchBronBron TwitchBronBron merged commit ea6cc19 into master Dec 16, 2025
4 checks passed
@TwitchBronBron TwitchBronBron deleted the task/reduce-data-cloaning branch December 16, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-package create a temporary npm package on every commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants