Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OR-5269 Operators:: Sequence Operators:: Finding values:: last(where:) #117

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

crazymanish
Copy link
Owner

Context

Operators are publishers

  • In Combine, methods that perform an operation on values coming from a publisher are called operators.
  • Each Combine operator actually returns a publisher. Generally speaking, that publisher receives the upstream values, manipulates the data, and then sends that data downstream.

Sequence operators

  • Sequence operators are easiest to understand when you realize that publishers are just sequences themselves.
  • Sequence operators work with the collection of a publisher’s values, much like an array or set — which, of course, are just finite sequences!

Finding values

  • This file consists of operators that locate specific values the publisher emits based on different criteria.
  • These are similar to the collection methods in the Swift standard library.

In this PR

@crazymanish crazymanish requested review from buh and raihan August 6, 2023 16:15
@crazymanish crazymanish linked an issue Aug 6, 2023 that may be closed by this pull request
@crazymanish crazymanish merged commit 6d98db2 into main Aug 6, 2023
@crazymanish crazymanish deleted the OR-5269-p8 branch August 6, 2023 16:15
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.

[w25(18june-24june)] Operators:: Sequence Operators: Finding values
1 participant