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

export class RequestAnalytics {
  private constructor() {}

  static async Process(_request: Request, _ctx: InfinityContext) {
    try {

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

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