add defaultTo task method

pass results by reference to emit event handler