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

    Variable keyexprConst

    keyexpr: {
        canonize: (key: string) => string | null;
        includes: (a: string, b: string) => boolean;
        intersects: (a: string, b: string) => boolean;
        isCanon: (key: string) => boolean;
        isValid: (key: string) => boolean;
        join: (prefix: string, suffix: string) => string | null;
        matches: (pattern: string, key: string) => boolean;
    } = ...

    The rules a Zenoh key expression obeys.

    Type Declaration

    • Readonlycanonize: (key: string) => string | null

      Rewrites a key expression into its canonical form, or null if it is malformed.

      Two expressions that select the same data have one canonical form, so canonizing before comparing or routing avoids treating a/**/**/b and a/**/b as different.

    • Readonlyincludes: (a: string, b: string) => boolean

      Reports whether the first expression selects every key the second one selects.

    • Readonlyintersects: (a: string, b: string) => boolean

      Reports whether two key expressions share at least one key, the relation Zenoh routes by.

    • ReadonlyisCanon: (key: string) => boolean

      Reports whether a key expression is already in its canonical form, the only form a Zenoh session accepts.

    • ReadonlyisValid: (key: string) => boolean

      Reports whether a key expression is well formed.

    • Readonlyjoin: (prefix: string, suffix: string) => string | null

      Joins two key expressions with a / and canonizes the result, or returns null if either side is empty or the joined expression is malformed.

    • Readonlymatches: (pattern: string, key: string) => boolean

      Reports whether a pattern selects a concrete key.