Commit c48ac5c
refactor: address PR review feedback
- Make setHostPrintFn callback synchronous (remove Promise deferral)
- Add TypeError validation for non-function callback arguments
- Switch host function TSFN calls to Blocking mode for consistency
- Remove microtask flush workarounds from tests
- Update reentrancy documentation comment
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 6d4c32a commit c48ac5c
3 files changed
Lines changed: 21 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
223 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
436 | 432 | | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
443 | 441 | | |
444 | 442 | | |
445 | 443 | | |
| |||
685 | 683 | | |
686 | 684 | | |
687 | 685 | | |
688 | | - | |
| 686 | + | |
689 | 687 | | |
690 | 688 | | |
691 | | - | |
| 689 | + | |
692 | 690 | | |
693 | 691 | | |
694 | 692 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
475 | | - | |
476 | 474 | | |
477 | 475 | | |
478 | 476 | | |
| |||
495 | 493 | | |
496 | 494 | | |
497 | 495 | | |
498 | | - | |
499 | | - | |
500 | 496 | | |
501 | 497 | | |
502 | 498 | | |
| |||
545 | 541 | | |
546 | 542 | | |
547 | 543 | | |
548 | | - | |
549 | | - | |
550 | 544 | | |
551 | 545 | | |
552 | 546 | | |
| |||
0 commit comments