ws fix
add foreach function, and overridden then for stream
ws fix
change end so that it only triggers after the current resolving values have finished