Skip to content

Add ForEachWithError to LTable#409

Open
TechyShishy wants to merge 1 commit intoyuin:masterfrom
TechyShishy:master
Open

Add ForEachWithError to LTable#409
TechyShishy wants to merge 1 commit intoyuin:masterfrom
TechyShishy:master

Conversation

@TechyShishy
Copy link
Copy Markdown

Provide a break capable, as well as error capable implementation of
ForEach, allowing for early short-circuit and deep logging of error
messages. Implement it underneath the current version, keeping only one
code path for maintenance purposes, but allow multiple ways of calling
this functionality as needed.

Changes proposed in this pull request:

  • Adds LTable.ForEachWithError()
  • Implements LTable.ForEach() as a call to LTable.ForEachWithError()

Provide a break capable, as well as error capable implementation of
ForEach, allowing for early short-circuit and deep logging of error
messages.  Implement it underneath the current version, keeping only one
code path for maintenance purposes, but allow multiple ways of calling
this functionality as needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant