René's URL Explorer Experiment


Title: Feature/enhance node java async options 90115432 by jimlloyd · Pull Request #198 · joeferner/node-java · GitHub

Open Graph Title: Feature/enhance node java async options 90115432 by jimlloyd · Pull Request #198 · joeferner/node-java

X Title: Feature/enhance node java async options 90115432 by jimlloyd · Pull Request #198 · joeferner/node-java

Description: This PR extends the asyncOptions/Promises feature I added previously in PR #187 and PR #189. It is now possible to specify the suffix that should be used for the Sync and Async variants, or to disable the generation of either of them. See the tests in the testAsyncOptions directory for examples. Note that while in the previous PRs for promises I arranged to promisify three of the exported functions of the java module (newInstance, callMethod, callStaticMethod), this feature as currently implemented does not allow changing the names of the sync and async variants of those functions, due to complications with order of initialization. I'm currently just documenting this inconsistency. Note also that this branch changes the npm test command to use a test runner. I'm open to suggestions for a better approach. to: @joeferner cc: @mhfrantz @jsdevel

Open Graph Description: This PR extends the asyncOptions/Promises feature I added previously in PR #187 and PR #189. It is now possible to specify the suffix that should be used for the Sync and Async variants, or to disa...

X Description: This PR extends the asyncOptions/Promises feature I added previously in PR #187 and PR #189. It is now possible to specify the suffix that should be used for the Sync and Async variants, or to disa...

Opengraph URL: https://github.com/joeferner/node-java/pull/198

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ba4862c8-d7d2-b344-4335-a142dc10636d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDBBC:18B2E:D4414:11FF28:6AFD4AB0
html-safe-nonce619012afb9f2eb38edcbf988b344997eedb26fb2be541835d76617b435130e1c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkJDOjE4QjJFOkQ0NDE0OjExRkYyODo2QUZENEFCMCIsInZpc2l0b3JfaWQiOiIxNjE0MzgyNTg5NTA0NDczNzc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccfc1469bd8c55a071ad0d75d67367503da6437e69fbe76ef3070e48b64f49571
hovercard-subject-tagpull_request:31164357
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/joeferner/node-java/pull/198/files
twitter:imagehttps://avatars.githubusercontent.com/u/18069?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/18069?s=400&v=4
og:image:altThis PR extends the asyncOptions/Promises feature I added previously in PR #187 and PR #189. It is now possible to specify the suffix that should be used for the Sync and Async variants, or to disa...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/joeferner/node-java git https://github.com/joeferner/node-java.git
octolytics-dimension-user_id808857
octolytics-dimension-user_loginjoeferner
octolytics-dimension-repository_id3228734
octolytics-dimension-repository_nwojoeferner/node-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3228734
octolytics-dimension-repository_network_root_nwojoeferner/node-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/joeferner/node-java/pull/198/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjoeferner%2Fnode-java%2Fpull%2F198%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjoeferner%2Fnode-java%2Fpull%2F198%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=joeferner%2Fnode-java
Reloadhttps://github.com/joeferner/node-java/pull/198/files
Reloadhttps://github.com/joeferner/node-java/pull/198/files
Reloadhttps://github.com/joeferner/node-java/pull/198/files
joefernerhttps://github.com/joeferner
node-javahttps://github.com/joeferner/node-java
Codehttps://github.com/joeferner/node-java
Issues208 (208)https://github.com/joeferner/node-java/issues
Pull requests2 (2)https://github.com/joeferner/node-java/pulls
Actionshttps://github.com/joeferner/node-java/actions
Projectshttps://github.com/joeferner/node-java/projects
Wikihttps://github.com/joeferner/node-java/wiki
Security and qualityhttps://github.com/joeferner/node-java/security
Insightshttps://github.com/joeferner/node-java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fjoeferner%2Fnode-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fjoeferner%2Fnode-java%2Fissues%2Fnew%2Fchoose
joefernerhttps://github.com/joeferner
joeferner:masterhttps://github.com/joeferner/node-java/tree/master
jimlloyd:feature/Enhance-node-java-async-options_90115432https://github.com/jimlloyd/node-java/tree/feature/Enhance-node-java-async-options_90115432
Conversation 6 https://github.com/joeferner/node-java/pull/198
Commits 6 https://github.com/joeferner/node-java/pull/198/commits
Checks 0 https://github.com/joeferner/node-java/pull/198/checks
Files changed https://github.com/joeferner/node-java/pull/198/files
Please reload this pagehttps://github.com/joeferner/node-java/pull/198/files
Feature/enhance node java async options 90115432 https://github.com/joeferner/node-java/pull/198/files#top
Show all changes 6 commits https://github.com/joeferner/node-java/pull/198/files
7280eb9 Enhance asyncOptions to provide control over sync & async method vari… jimlloyd Mar 12, 2015 https://github.com/joeferner/node-java/pull/198/commits/7280eb9a1040c492a54ce5d7271075d29ed5e745
399e7d0 Implement testRunner.js. jimlloyd Mar 13, 2015 https://github.com/joeferner/node-java/pull/198/commits/399e7d07c008397ec59d58734778e0e3c9c03e7c
5de4229 Change `npm test` to use testRunner.js. jimlloyd Mar 13, 2015 https://github.com/joeferner/node-java/pull/198/commits/5de42296b502060b8546da9d5aab087ea8e9f473
50d76ee Update README for enhanced asyncOptions. jimlloyd Mar 13, 2015 https://github.com/joeferner/node-java/pull/198/commits/50d76ee006753836f088ee4e15e08d5df883b4ed
b0da6fe Add lodash to package.json. jimlloyd Mar 13, 2015 https://github.com/joeferner/node-java/pull/198/commits/b0da6fe9ef5c052f25a9b9c9d8cf832226529aa5
295fdfe Change Travis to build against node 0.10 and 0.12. Drop 0.8. jimlloyd Mar 13, 2015 https://github.com/joeferner/node-java/pull/198/commits/295fdfe53b9dad5e29208cfe43faeab2d4a68f23
Clear filters https://github.com/joeferner/node-java/pull/198/files
Please reload this pagehttps://github.com/joeferner/node-java/pull/198/files
Please reload this pagehttps://github.com/joeferner/node-java/pull/198/files
.travis.yml https://github.com/joeferner/node-java/pull/198/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
README.md https://github.com/joeferner/node-java/pull/198/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
package.json https://github.com/joeferner/node-java/pull/198/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
java.cpp https://github.com/joeferner/node-java/pull/198/files#diff-f6b9ee79ea1d44dfe4843f5dbe4bb419c606ed6149363eba02a562aaf0285351
java.h https://github.com/joeferner/node-java/pull/198/files#diff-24168236c32bfa773830f939117602c559c065a4c958e4e31b6f608aa0dcf3bc
javaObject.cpp https://github.com/joeferner/node-java/pull/198/files#diff-0460d77bc2930741487ed0ba3d16c5e5d3fd304d7c7d09e5370c96652e45d7de
testAllThreeSuffix.js https://github.com/joeferner/node-java/pull/198/files#diff-bd5fcb37c6882dd9500f87c896597f6572ba8f9fd5408d9c7228a1e282a5970a
testAsyncSuffixSyncDefault.js https://github.com/joeferner/node-java/pull/198/files#diff-7acc9071f2aeb65334ccf86f5c6cd51f3e1e2f7ca344ce4ea25278a1776e12f5
testDefacto.js https://github.com/joeferner/node-java/pull/198/files#diff-279331e722039d40f59a0c9987bbe43244116c190f23e2a6de80ac29d3c6e4f7
testDefactoPlusPromise.js https://github.com/joeferner/node-java/pull/198/files#diff-7d112484c5e8fa0beeaa8f798c8662cb410ad0906f4e96ab060b87c612477cc6
testDefault.js https://github.com/joeferner/node-java/pull/198/files#diff-b4c670add845cc9867e718f498322562e18dc40d4fa5091b51c716f6c3c0c4ec
testNoAsync.js https://github.com/joeferner/node-java/pull/198/files#diff-86cdeb4a3f5ab9b2bff422a1eb44c9f8a412e6043a97a8f6cf7c9457dc5118f1
testSyncDefaultPlusPromise.js https://github.com/joeferner/node-java/pull/198/files#diff-10e2d24681fc5de916d58b0644179f713f159c2359c8797350997b6255679601
testHelpers.js https://github.com/joeferner/node-java/pull/198/files#diff-20384a99ceabcd949f3416e58b108d960c360ae55f4ba73f3f9897c2a187468a
testRunner.js https://github.com/joeferner/node-java/pull/198/files#diff-e36280d0b140fcd7f5128d9d29a9ea4fcc0ffc8e7691d47696e0ab6e21012aa1
.travis.ymlhttps://github.com/joeferner/node-java/pull/198/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
View file https://github.com/jimlloyd/node-java/blob/295fdfe53b9dad5e29208cfe43faeab2d4a68f23/.travis.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/joeferner/node-java/pull/198/{{ revealButtonHref }}
https://github.com/joeferner/node-java/pull/198/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
https://github.com/joeferner/node-java/pull/198/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
README.mdhttps://github.com/joeferner/node-java/pull/198/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/jimlloyd/node-java/blob/295fdfe53b9dad5e29208cfe43faeab2d4a68f23/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/joeferner/node-java/pull/198/{{ revealButtonHref }}
https://github.com/joeferner/node-java/pull/198/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/joeferner/node-java/pull/198/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/joeferner/node-java/pull/198/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
package.jsonhttps://github.com/joeferner/node-java/pull/198/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/jimlloyd/node-java/blob/295fdfe53b9dad5e29208cfe43faeab2d4a68f23/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/joeferner/node-java/pull/198/{{ revealButtonHref }}
https://github.com/joeferner/node-java/pull/198/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/joeferner/node-java/pull/198/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
src/java.cpphttps://github.com/joeferner/node-java/pull/198/files#diff-f6b9ee79ea1d44dfe4843f5dbe4bb419c606ed6149363eba02a562aaf0285351
View file https://github.com/jimlloyd/node-java/blob/295fdfe53b9dad5e29208cfe43faeab2d4a68f23/src/java.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/joeferner/node-java/pull/198/{{ revealButtonHref }}
https://github.com/joeferner/node-java/pull/198/files#diff-f6b9ee79ea1d44dfe4843f5dbe4bb419c606ed6149363eba02a562aaf0285351
https://github.com/joeferner/node-java/pull/198/files#diff-f6b9ee79ea1d44dfe4843f5dbe4bb419c606ed6149363eba02a562aaf0285351
https://github.com/joeferner/node-java/pull/198/files#diff-f6b9ee79ea1d44dfe4843f5dbe4bb419c606ed6149363eba02a562aaf0285351
src/java.hhttps://github.com/joeferner/node-java/pull/198/files#diff-24168236c32bfa773830f939117602c559c065a4c958e4e31b6f608aa0dcf3bc
View file https://github.com/jimlloyd/node-java/blob/295fdfe53b9dad5e29208cfe43faeab2d4a68f23/src/java.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/joeferner/node-java/pull/198/{{ revealButtonHref }}
https://github.com/joeferner/node-java/pull/198/files#diff-24168236c32bfa773830f939117602c559c065a4c958e4e31b6f608aa0dcf3bc
https://github.com/joeferner/node-java/pull/198/files#diff-24168236c32bfa773830f939117602c559c065a4c958e4e31b6f608aa0dcf3bc
https://github.com/joeferner/node-java/pull/198/files#diff-24168236c32bfa773830f939117602c559c065a4c958e4e31b6f608aa0dcf3bc
src/javaObject.cpphttps://github.com/joeferner/node-java/pull/198/files#diff-0460d77bc2930741487ed0ba3d16c5e5d3fd304d7c7d09e5370c96652e45d7de
View file https://github.com/jimlloyd/node-java/blob/295fdfe53b9dad5e29208cfe43faeab2d4a68f23/src/javaObject.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/joeferner/node-java/pull/198/{{ revealButtonHref }}
https://github.com/joeferner/node-java/pull/198/files#diff-0460d77bc2930741487ed0ba3d16c5e5d3fd304d7c7d09e5370c96652e45d7de
https://github.com/joeferner/node-java/pull/198/files#diff-0460d77bc2930741487ed0ba3d16c5e5d3fd304d7c7d09e5370c96652e45d7de
https://github.com/joeferner/node-java/pull/198/files#diff-0460d77bc2930741487ed0ba3d16c5e5d3fd304d7c7d09e5370c96652e45d7de
https://github.com/joeferner/node-java/pull/198/files#diff-0460d77bc2930741487ed0ba3d16c5e5d3fd304d7c7d09e5370c96652e45d7de
testAsyncOptions/testAllThreeSuffix.jshttps://github.com/joeferner/node-java/pull/198/files#diff-bd5fcb37c6882dd9500f87c896597f6572ba8f9fd5408d9c7228a1e282a5970a
View file https://github.com/jimlloyd/node-java/blob/295fdfe53b9dad5e29208cfe43faeab2d4a68f23/testAsyncOptions/testAllThreeSuffix.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/joeferner/node-java/pull/198/{{ revealButtonHref }}
testAsyncOptions/testAsyncSuffixSyncDefault.jshttps://github.com/joeferner/node-java/pull/198/files#diff-7acc9071f2aeb65334ccf86f5c6cd51f3e1e2f7ca344ce4ea25278a1776e12f5
View file https://github.com/jimlloyd/node-java/blob/295fdfe53b9dad5e29208cfe43faeab2d4a68f23/testAsyncOptions/testAsyncSuffixSyncDefault.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/joeferner/node-java/pull/198/{{ revealButtonHref }}
Please reload this pagehttps://github.com/joeferner/node-java/pull/198/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.