I replaced that weird
null stuff with an easier way...
done was if the iterator's
done property is
true which means it's
value is not set, thus you cannot send anything if
true. Instead now the DFS predict when it is currently iterating the last node, and sends an additional property in it's shared state object called