I have a class that creates a task in it's constructor. How do I store this created task as one of it's value members and later on call .yieldForce()?
If the class itself isn't templated on the type, you'll want to use something like std.variant.Variant to store it.