Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9201115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:55:40+00:00 2026-06-17T22:55:40+00:00

Imagine I have a coroutine which uses the implementation of Loader included in the

  • 0

Imagine I have a coroutine which uses the implementation of Loader included in the CM docs, and I use it to show a busy indicator on my page

Now imagine the user attempts to add an object which already exists to the data store – naturally during the coroutine the ‘save’ operation will fail, meaning the coroutine will cancel execution

If this happens, the enumerator never reaches my Loader.Hide() call to hide the busy indicator – I’m wondering if there is already a mechanism in place to allow some IResult implementations to execute even if the coroutine fails?

Example:

    public IEnumerator<IResult> SaveData()
    {
        yield return Framework.Coroutines.Loader.Show("Saving Data");
        yield return new Framework.Coroutines.SaveOperation(SomeObject);
        yield return Framework.Coroutines.Loader.Hide();
    }

If the coroutine fails legitimately on the second step, the busy indicator remains on screen, leaving the user no chance to correct their errors and attempt a re-save (and stopping any interaction with the underlying UI!)

I could just extend the implementation of coroutine and have iterators that have a flag which says whether they are allowed to execute when there is an error – just wondering if anyone has done this already or if it’s a part of the framework I’m missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:55:41+00:00Added an answer on June 17, 2026 at 10:55 pm

    You could also use Caliburn.Micro Action Filters. See SetBusyAttribute.
    The declarative style of attributes is transparent and makes the code easier to manage.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Imagine you have user story 1 which requires the implementation of a method: public
Imagine you have class A which has code which runs as method M. And
Imagine I have a table which stores a series of sparse vectors. A sparse
Imagine I have this structure: class Foo { String bar } Now imagine I
Imagine we have a set of entities each of which has its state: free,
Imagine I have this blue object (box2d body), which I need to draw towards
imagine i have a main view, in which i have a call to the
Imagine I have a CDialog which creates controls dynamically when the user clicks a
Imagine I have an object called image, now I want to create multiply copies
Imagine I have some application, which reads and writes data to Google Tasks and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.