itkwasm.environment_dispatch

Module Contents

Classes

Functions

Data

API

class itkwasm.environment_dispatch.FunctionFactory

Initialization

register(interface_package: str, func_name: str, func: Callable, priority: int = 1) None
lookup(interface_package: str, func_name: str) Optional[Set[Callable]]
highest_priority(interface_package: str, func_name: str) Optional[Callable]

Highest priority registered function with priority > 0.

set_priority(func: Callable, priority: int) None
get_priority(func: Callable) int
disable(interface_package: str, func_name: str)

Set the priorites of all registered functions to -1.

itkwasm.environment_dispatch.function_factory

‘FunctionFactory(…)’

itkwasm.environment_dispatch.environment_dispatch(interface_package: str, func_name: str) Callable