export interface SpawnReference { next: Function; detach: Function; }