Gordian Envelope TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Interface EventBehavior<T>

    Interface that defines the behavior of an event.

    interface EventBehavior<T extends EnvelopeEncodableValue> {
        withNote(note: string): Event<T>;
        withDate(date: Date): Event<T>;
        content(): T;
        id(): ARID;
        note(): string;
        date(): Date | undefined;
        toEnvelope(): Envelope;
    }

    Type Parameters

    Implemented by

    Index

    Methods