@conciergus/chat - v0.3.1
    Preparing search index...

    Type Alias AsyncResult<T, E>

    Async operation result

    type AsyncResult<T, E = Error> = {
        success: boolean;
        data?: T;
        error?: E;
        duration: number;
        timestamp: Date;
    }

    Type Parameters

    • T
    • E = Error
    Index

    Properties

    success: boolean
    data?: T
    error?: E
    duration: number
    timestamp: Date