Skip to content
E2B Docs
v2.1.5

Readycmd

wait_for_port

def wait_for_port(port: int)

Generate a command to wait for a port to be available.

wait_for_url

def wait_for_url(url: str, status_code: int = 200)

Generate a command to wait for a URL to return a specific status code.

wait_for_process

def wait_for_process(process_name: str)

Generate a command to wait for a process to be running.

wait_for_file

def wait_for_file(filename: str)

Generate a command to wait for a file to exist.

wait_for_timeout

def wait_for_timeout(timeout: int)

Generate a command to wait for a specified duration.