Module spawn

Source

Functionsยง

run_server
Runs the server with the provided service implementation. This function listens for incoming requests, processes them using the provided service, and sends back the responses. It uses the inherited file descriptors for communication.
spawn_cell_server
Spawns a new server process using the provided code hash and hash type. This function is similar to spawn_server, but it uses a specific cell identified by the code_hash and hash_type to spawn the new process. The function returns the read and write file descriptors for the parent process to communicate with the child process.
spawn_server
Spawns a new server process and sets up pipes.