Using

final case
class Using[R <: AutoCloseable](open: () => R) extends AnyVal

This Using keyword automatically manage resources in scala.concurrent.Future, domains.task.Task, and other asynchronous domains derived from Future or Task.

Authors

杨博 (Yang Bo)

See also

dsl for usage of this Using keyword in continuations

Companion
object
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product