run
Configure and start a new HTTP server, using the provided entrypoint to configure the routing and binding behavior through injected intrinsics.
The acquireContext function will be called multiple times to obtain thread-local PolyglotContext instances, which is required to enable proper multithreaded request handling.
Parameters
entrypoint
The guest code to be evaluated as server and routing configuration.
acquireContext
Factory function used to obtain a PolyglotContext for the current thread.