Behaviours: gen_server
.
is_entity_watched/1 | |
is_entity_watched_by/2 | |
start_link/0 | Starts the server. |
unwatch/2 | |
unwatch_by_pid/1 | |
watch/2 | |
watchers_local_lookup/1 |
is_entity_watched(Entity::erlwitness:entity()) -> boolean()
is_entity_watched_by(Entity::erlwitness:entity(), WatcherPid::pid()) -> boolean()
start_link() -> {ok, Pid} | ignore | {error, Error}
Starts the server
unwatch(Entity::erlwitness:entity(), WatcherPid::pid()) -> ok
unwatch_by_pid(WatcherPid::pid()) -> ok
watch(Entity::erlwitness:entity(), WatcherPid::pid()) -> boolean()
watchers_local_lookup(Entity::erlwitness:entity()) -> [pid()]