Detect End of Coroutine Used by Two Scripts Simultaneously

There’s going to be a coroutine (the functionality doesn’t matter).

IEmunerator Coroutine1 {
    yield return new WaitForSeconds(10f);

Two scripts will be using this coroutine, possibly simultaneously, and they want to detect when their coroutine ends, not the other one.

How would I go about doing that?

A simple flag won’t do.

Solved, make another Coroutine and yield return StartCoroutine(Coroutine1)