Custom yield return

I would like to implement my own WWW class to make calls to web APIs. Is there anyway I can use yield return with my own class?

Is there some API in Unity that allows me to perform an async operation, BeginA and call yield return and then call EndA to signal to unity to resume?

You can always have a function (which returns iEnumerator) in your class you you can yield that.