function getEventWithActivityLog
getEventWithActivityLog(
eventId: number,
limit?: number,
): Promise<EventWithActivityLog | null>

Get event and its activity log in a single database round-trip. Uses batch API to reduce latency for remote databases.

Parameters

eventId: number
optional
limit: number = 100

Return Type

Promise<EventWithActivityLog | null>

Usage

import { getEventWithActivityLog } from "doc.ts";