Creating a Hook for Accessing the Last Value of a Stream - Effect Community