How to create a task from a stream 1 (1)