Skip to content

Module dev_scheduler_registry.erl

Function Index

create_and_find_process_test/0*
create_multiple_processes_test/0*
find/1Find a process associated with the processor ID in the local registry If the process is not found, it will not create a new one.
find/2Find a process associated with the processor ID in the local registry If the process is not found and GenIfNotHosted is true, it attemps to create a new one.
find/3Same as find/2 but with additional options passed when spawning a new process (if needed).
find_non_existent_process_test/0*
generate_test_procs/0*
get_all_processes_test/0*
get_processes/0Return a list of all currently registered ProcID.
get_wallet/0
maybe_new_proc/3*
start/0

Function Details

create_and_find_process_test/0 *

create_and_find_process_test() -> any()

create_multiple_processes_test/0 *

create_multiple_processes_test() -> any()

find/1

find(ProcID) -> any()

Find a process associated with the processor ID in the local registry If the process is not found, it will not create a new one

find/2

find(ProcID, ProcMsgOrFalse) -> any()

Find a process associated with the processor ID in the local registry If the process is not found and GenIfNotHosted is true, it attemps to create a new one

find/3

find(ProcID, ProcMsgOrFalse, Opts) -> any()

Same as find/2 but with additional options passed when spawning a new process (if needed)

find_non_existent_process_test/0 *

find_non_existent_process_test() -> any()

generate_test_procs/0 *

generate_test_procs() -> any()

get_all_processes_test/0 *

get_all_processes_test() -> any()

get_processes/0

get_processes() -> any()

Return a list of all currently registered ProcID.

get_wallet/0

get_wallet() -> any()

maybe_new_proc/3 *

maybe_new_proc(ProcID, ProcMsg, Opts) -> any()

start/0

start() -> any()