class Indexerimport { Indexer } from "https://deno.land/x/msgpack_rpc@v3.1.6/indexer.ts"; Indexer returns sequential index ConstructorsnewIndexer(max?: number)Methodsnext(): numberIncrement the internal index and return it It resets the internal index if it beyonds the max.