You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The .map method on a RecordCursor currently allows the user to modify the results returned by a record cursor, but the update can only change the value. There's not a variant that allows the user to update the result's continuation. This might be useful if, for example, the user wants to wrap the returned continuation in their own wrapping continuation (perhaps with additional context). The user does need to do a bit of work when resuming the cursor to extract the original continuation (or whatever alternative they want to go with), but it still seems like a useful feature to have.
The text was updated successfully, but these errors were encountered:
…ports changing a result's continuation
This adds a variant to `RecordCursor.map` that allows the caller to adjust the continuations returned by a `RecordCursor`. This would allow, for example, for someone to wrap the continuations with new data, or otherwise adjust the continuations returned.
This resolvesFoundationDB#1663.
…ports changing a result's continuation
This adds a variant to `RecordCursor.map` that allows the caller to adjust the continuations returned by a `RecordCursor`. This would allow, for example, for someone to wrap the continuations with new data, or otherwise adjust the continuations returned.
This resolvesFoundationDB#1663.
alecgrieser
added a commit
to alecgrieser/fdb-record-layer
that referenced
this issue
May 16, 2022
…ports changing a result's continuation
This adds a variant to `RecordCursor.map` that allows the caller to adjust the continuations returned by a `RecordCursor`. This would allow, for example, for someone to wrap the continuations with new data, or otherwise adjust the continuations returned.
This resolvesFoundationDB#1663.
The
.map
method on aRecordCursor
currently allows the user to modify the results returned by a record cursor, but the update can only change the value. There's not a variant that allows the user to update the result's continuation. This might be useful if, for example, the user wants to wrap the returned continuation in their own wrapping continuation (perhaps with additional context). The user does need to do a bit of work when resuming the cursor to extract the original continuation (or whatever alternative they want to go with), but it still seems like a useful feature to have.The text was updated successfully, but these errors were encountered: