object SftpStore
- Companion
- class
class Object
trait Matchable
class Any
Value members
Concrete methods
def apply[F[_]](fSession: F[Session], maxChannels: Option[Long], connectTimeout: Int)(using `evidence$2`: Async[F]): Resource[F, SftpStore[F]]
Safely initialize SftpStore and disconnect Session upon finish.
Safely initialize SftpStore and disconnect Session upon finish.
- Value Params
- connectTimeout
– override for channel connect timeout.
- fSession
– process used to connect to SFTP server, obtain Session.
- maxChannels
– optional upper limit on the number of concurrently open channels.
- Returns
Resource[F, [SftpStore[F]], session open on start is going to be close in resource finalization.