Skip to main content
Glama

MCP 3D Printer Server

TimestampQueryPool.js799 B
class TimestampQueryPool { constructor( maxQueries = 256 ) { this.trackTimestamp = true; this.maxQueries = maxQueries; this.currentQueryIndex = 0; // how many queries allocated so far this.queryOffsets = new Map(); // track offsets for different contexts this.isDisposed = false; this.lastValue = 0; this.pendingResolve = false; } /** * Allocate queries for a specific renderContext. * * @abstract */ allocateQueriesForContext( /* renderContext */ ) {} /** * Resolve all timestamps and return data (or process them). * * @abstract * @returns {Promise<Number>|Number} The resolved timestamp value. */ async resolveQueriesAsync() {} /** * Dispose of the query pool. * * @abstract */ dispose() {} } export default TimestampQueryPool;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DMontgomery40/mcp-3D-printer-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server