pamoja for TypeScript - v0.2.0
    Preparing search index...

    Interface Policy

    What decides each reading: a profile's built-in Controller, or a policy of the program's own. A custom policy raises its own conditions as an alert of kind Custom with a code and a value.

    interface Policy {
        evaluate(reading: number): profile.Reaction;
    }
    Index
    • Decides what one reading calls for.

      Parameters

      • reading: number

      Returns profile.Reaction