home.social

#backgroundtask — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #backgroundtask, aggregated by home.social.

fetched live
  1. SwiftUI không thay đổi cách chạy nền, mà chỉ dễ khiến chúng ta bỏ qua. Để sync dữ liệu ổn định, cần kiến trúc nền: đăng ký BGTaskScheduler, luôn reschedule, xử lý expiration, dùng BGAppRefresh & BGProcessing, kết hợp silent push, ưu tiên task, checkpoint lưu tiến độ. Kết quả: sync tin cậy, tiết kiệm pin, ít lỗi. #SwiftUI #iOS #BackgroundTask #LậpTrình #MobileDev #PhátTriểnỨngDụng

    dev.to/sebastienlato/swiftui-b

  2. Async to run background function or task and return a value in C# Tip #41 To run a background task with async, define an async function that returns a value (e.g. string, int). Use await to get the result, matching types.
    #async #await #backgroundTask #CSharp #dotnet #programming #devtips

  3. Async to run background function or task and return a value in C# Tip #41 To run a background task with async, define an async function that returns a value (e.g. string, int). Use await to get the result, matching types.
    #async #await #backgroundTask #CSharp #dotnet #programming #devtips

  4. My dear and community

    I faced with a bug There is a problem when running background tasks on android, async calls/promises/inner promises gets suspended until the app is put to foreground.

    If you have a solution for this problem, let me know.

  5. I know that we are still far away from #WWDC, but every year I have the same wish: better #backgroundtask handling for #iOS. I want a way for developers to have background tasks that are guaranteed to complete. At the moment, if an app requests a background task, the system may just kill it. This is really a bad approach. I know that this should prevent abuse, but if this prevents an important task that I, as a user, started, then this really #sucks.