| 794 | |
| 795 | |
| 796 | Result<StatusUpdate> TaskStatusUpdateStream::next() |
| 797 | { |
| 798 | if (error.isSome()) { |
| 799 | return Error(error.get()); |
| 800 | } |
| 801 | |
| 802 | if (!pending.empty()) { |
| 803 | return pending.front(); |
| 804 | } |
| 805 | |
| 806 | return None(); |
| 807 | } |
| 808 | |
| 809 | |
| 810 | Try<Nothing> TaskStatusUpdateStream::replay( |
no test coverage detected