SafeLazyProxy

xsbti.api.SafeLazyProxy
object SafeLazyProxy

Proxy SafeLazy functionality from the Java implementation implementation in xsbt.api.SafeLazy to Scala helpers.

The implementation of these helpers are not reused between each other because they create intermediate anonymous functions and the price of a new object in this hot path is not worth it.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[T](s: => T): Lazy[T]

Return a lazy implementation of a Scala by-name parameter.

Return a lazy implementation of a Scala by-name parameter.

Attributes

def strict[T](s: T): Lazy[T]

Return a lazy implementation of a strict value.

Return a lazy implementation of a strict value.

Attributes