Skip to main content

current_process

Returns the current process object by attempting to import and use the billiard library's process module.

def current_process() - > object

Retrieves the current process object from the billiard library if available. This is used to access process-specific metadata and control in distributed task environments.

Returns

TypeDescription
objectThe current process instance from billiard, or None if the library is not installed.