0.1.3Updated 6 months ago
import type { InfinityContext } from "@infinity-beyond/modules/networking/infinity_context.ts";

export class ResponseAnalytics {
  private constructor() {}

  static async Process(_response: Response, _ctx: InfinityContext) {
    try {

      // TODO: Do host-side analytics and task monitoring here

    } catch(e: any) {
      console.warn(`Host::ResponseAnalytics error!`, e.message);
    };
  }
}