function getEventsBySlugsBatch
getEventsBySlugsBatch(slugs: string[]): Promise<(EventWithCount | null)[]>

Get multiple events by slugs (from cache). Returns events in the same order as the input slugs. Missing or inactive events are returned as null.

Parameters

slugs: string[]

Return Type

Promise<(EventWithCount | null)[]>

Usage

import { getEventsBySlugsBatch } from "doc.ts";