Skip to content
AtomicReps

Navigation

19/23Mobile

Swift Concurrency & Combine.

Structured concurrency (async/await, actors) and Combine reactive streams — the headline senior-iOS axis.

  • Swift Concurrency & Combine · 1 of 3

    Combine Framework & Reactive Streams

    In Combine, what type does the operator chain Just(5).map { $0 + 1 } ultimately conform to?

  • Swift Concurrency & Combine · 2 of 3

    Combine Framework & Reactive Streams

    A teammate iterates a CurrentValueSubject through its async-sequence bridge with for-await. What does the loop see before any further send() calls?

  • Swift Concurrency & Combine · 3 of 3

    Swift Concurrency (async/await & Actors)

    What does this snippet print before catch swallows the error?

    swift
    struct E: Error {}let s = AsyncThrowingStream<Int, Error> { c in    c.yield(1); c.finish(throwing: E())}do { for try await v in s { print(v) } } catch { }

Three of the 342 Swift Concurrency & Combine questions in the bank.

Keep going with Swift Concurrency & Combine, free
Next topic · 20/23Swift Language & Tooling.