All files / src MultiplexMessage.ts

40% Statements 4/10
0% Branches 0/4
0% Functions 0/2
66.66% Lines 4/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15    1x     1x     1x           1x
// Package: com.lightningkite.lightningdb
// Generated by Khrysalis - this file will be overwritten.
import { ReifiedType, setUpDataClass } from '@lightningkite/khrysalis-runtime'
 
//! Declares com.lightningkite.lightningdb.MultiplexMessage
export class MultiplexMessage {
    public constructor(public readonly channel: string, public readonly path: (string | null) = null, public readonly start: boolean = false, public readonly end: boolean = false, public readonly data: (string | null) = null) {
    }
    public static properties = ["channel", "path", "start", "end", "data"]
    public static propertyTypes() { return {channel: [String], path: [String], start: [Boolean], end: [Boolean], data: [String]} }
    copy: (values: Partial<MultiplexMessage>) => this;
    equals: (other: any) => boolean;
    hashCode: () => number;
}
setUpDataClass(MultiplexMessage)