Skip to content

Conversation

@jorwoods
Copy link
Contributor

@jorwoodsjorwoods commented Jun 6, 2024

Add typing to the Pager object. The typing addition makes it clearer for language servers to detect what type of objects are yielded from the iterable, making TSC easier to use.

Additionally, this simplifies the way items are returned from the intermediate list object. Different from before, if the server count changes while the Pager is working, this change will continue to function. If desired, it can be reset to exiting gracefully should the server count change.

@jorwoodsjorwoodsforce-pushed the jorwoods/typed_pager branch from e1d4441 to 6e68d8bCompareJune 16, 2024 03:34
@jacalatajacalata merged commit 1fc7b74 into tableau:developmentJun 21, 2024
@jorwoodsjorwoods deleted the jorwoods/typed_pager branch June 21, 2024 09:57
@jorwoodsjorwoods mentioned this pull request Sep 2, 2024
Sign up for freeto 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.

2 participants

@jorwoods@jacalata