property HttpService.lastId

The last id handed out. Kept here rather than counted from requests.length, which stops being the number of requests made the moment the cap drops the oldest one — and an id that starts repeating is worse than no id at all.

Type

number

Usage

import { type HttpService } from "lib/repl/http-service.ts";