AsyncTastyHolder

dotty.tools.dotc.transform.Pickler.AsyncTastyHolder
See theAsyncTastyHolder companion object

A holder for syncronization points and reports when writing TASTy asynchronously. The callbacks should only be called once.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def cancel(): Unit

Cancel any outstanding work. This should be done at the end of a run, e.g. background work may be running even though errors in main thread will prevent reaching the backend.

Cancel any outstanding work. This should be done at the end of a run, e.g. background work may be running even though errors in main thread will prevent reaching the backend.

Attributes

check if the work has been cancelled.

check if the work has been cancelled.

Attributes

should only be called once

should only be called once

Attributes

awaits the state of async TASTy operations indefinitely, returns optionally any buffered reports.

awaits the state of async TASTy operations indefinitely, returns optionally any buffered reports.

Attributes

Concrete fields