Create a coroutine component for spawning or adding to an entity.
The generator function to drive
Optional
Optional configuration (onComplete event)
Component object suitable for spreading into spawn()
Create a coroutine component for spawning or adding to an entity.