!str #15672 add a way to retrieve Publsiher or Subscriber from Output/Input

* also remove ClosedFlow.as(...)