Split linkDown() into canCarry() and droppedWhileDraining() #38

Merged
lilleman merged 2 commits from link-down into main 2026-09-28 01:43:20 +02:00
Owner

Session.drain() asked linkDown() two opposite questions; each now has its own predicate.

Session.drain() asked linkDown() two opposite questions; each now has its own predicate.
lilleman added 1 commit 2026-09-28 01:31:39 +02:00
Split linkDown() into canCarry() and droppedWhileDraining()
Test / lint (pull_request) Successful in 23s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 31s
Test / test (22) (pull_request) Successful in 34s
Test / test (24) (pull_request) Successful in 40s
Test / test (26) (pull_request) Successful in 33s
Mirror / push (push) Waiting to run
8d443bf670
lilleman added 1 commit 2026-09-28 01:34:57 +02:00
Say only what canCarry() and droppedWhileDraining() can know
Test / lint (pull_request) Successful in 23s
Test / test (18) (pull_request) Successful in 32s
Test / test (20) (pull_request) Successful in 31s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 31s
Test / test (26) (pull_request) Successful in 31s
Mirror / push (push) Has been cancelled
bfd0ed1b98
lilleman marked the pull request as ready for review 2026-09-28 01:43:16 +02:00
lilleman merged commit bfd0ed1b98 into main 2026-09-28 01:43:20 +02:00
lilleman deleted branch link-down 2026-09-28 01:43:20 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/smpp-js#38