Writing a Stream to a File in Effect Typescript

Hi, what is the effect primitive to write a stream to a file within a Stream.run()? I somehow expected to find this in FileSystem or Sink but it's not there.
Was this page helpful?