Stratal API Reference
    Preparing search index...

    Interface WhenOptions

    Options for conditional binding with when() method

    interface WhenOptions {
        cache?: boolean;
    }
    Index

    Properties

    Properties

    cache?: boolean

    Cache predicate result after first evaluation. When true, the predicate is evaluated once and the result is reused. When false (default), predicate is evaluated on each resolution.