English · 中文

All Keywords

cancellation

4 related articles

Building a Cancellable and Recoverable Streaming AI Chat in SwiftUI

Sep 3, 2026

Use SwiftUI, Observation, and Swift Concurrency to build streaming AI chat that avoids duplicate text, stops cleanly, respects scrolling, and recovers after interruption.

Readable Asynchronous State Machines with Lua Coroutines

Jul 31, 2025

Use the Lua 5.4.8 coroutine API to separate waiting intents from a scheduler, with explicit cancellation, error boundaries, and deterministic tests.

Actor Boundaries in Swift: Keeping View Models Focused on UI State

May 21, 2025

Give shared mutable resources to actors, keep presentation state on MainActor, and handle races with cancellation and request identity.

Beyond AsyncImage: A Cancellable, Cache-Aware SwiftUI Image Pipeline

May 10, 2025

Separate downloading, caching, decoding, and presentation state to build a SwiftUI image pipeline with cancellation and validated responses.

Portrait of Lukes Lu

Lukes Lu

Software Developer

  • lukes.lu@yahoo.com
  • github.com/ilukes
  • @lupingui
  • Home
  • About
  • Keywords →
    • SwiftUI
    • OpenAI
    • Responses API
    • cancellation
    • iOS 26 beta
    • reasoning effort
    • AI Agent
    • Codex

©2026 All rights reserved. Made with Jekyll and ♥