AsyncChannel

class Object
trait Matchable
class Any

Value members

Abstract methods

def close(): Future[Unit]

It is allowed to call this method even if there is an ongoing previous closure process. In such case the future of the ongoing closure is returned.

It is allowed to call this method even if there is an ongoing previous closure process. In such case the future of the ongoing closure is returned.

def isOpen: Boolean

When a file is opened, this reports true. As soon as close is called, this method reports false, even if the asynchronous closure is still going on. At this point no further reads or writes should be made.

When a file is opened, this reports true. As soon as close is called, this method reports false, even if the asynchronous closure is still going on. At this point no further reads or writes should be made.