Skip to content

test: Add tests for ThreadSafeFunction's NonBlock function overloads#1249

Merged
JckXia merged 2 commits into
nodejs:mainfrom
JckXia:add-tests-for-threadsafe-non-block
Jan 24, 2023
Merged

test: Add tests for ThreadSafeFunction's NonBlock function overloads#1249
JckXia merged 2 commits into
nodejs:mainfrom
JckXia:add-tests-for-threadsafe-non-block

Conversation

@JckXia

@JckXia JckXia commented Dec 14, 2022

Copy link
Copy Markdown
Member

Added test coverage for ThreadSafeFunction 's missing NonBlockingCall function overloads. In particular test cases for when we pass just the single js function into the tsfn, or nothing at all.

@JckXia JckXia added the test label Dec 14, 2022

@mhdawson mhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JckXia JckXia force-pushed the add-tests-for-threadsafe-non-block branch from 544a266 to 79ccf60 Compare December 20, 2022 00:03
@KevinEady

KevinEady commented Dec 31, 2022

Copy link
Copy Markdown
Contributor

@mhdawson

Copy link
Copy Markdown
Member

@KevinEady I see you ran a number of tests. Looks like they passed, are you good with this landing?

@KevinEady KevinEady left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@JckXia JckXia merged commit 78b5a15 into nodejs:main Jan 24, 2023
@JckXia

JckXia commented Jan 24, 2023

Copy link
Copy Markdown
Member Author

Landed as 78b5a15

@JckXia JckXia deleted the add-tests-for-threadsafe-non-block branch January 24, 2023 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants