/** * Accesses the specified service in the environment of the stream. * * @tsplus static effect/core/stream/Stream.Ops serviceWith */ export function serviceWith( tag: Tag, f: (resource: T) => A ): Stream { return Stream.fromEffect(Effect.serviceWith(tag, f)) }