pinchpi (pinchpi v0.1.0)

Summary

Functions

await(Pid)

-spec await(pid()) -> {ok, binary(), term()} | {error, term()}.

await(Pid, Timeout)

-spec await(pid(), timeout()) -> {ok, binary(), term()} | {error, term()}.

clear_cache(Cache)

-spec clear_cache(ets:tid()) -> ok.

default_cache()

-spec default_cache() -> ets:tid() | atom().

eval(Code)

-spec eval(binary()) -> {ok, binary(), term()} | {error, term()}.

eval(Code, Opts)

-spec eval(binary(), map()) -> {ok, binary(), term()} | {error, term()}.

eval_io(Code, Opts)

-spec eval_io(binary(), map()) -> {ok, binary(), binary(), term()} | {error, term()}.

new_cache()

-spec new_cache() -> ets:tid().

start(Code)

-spec start(binary()) -> {ok, pid()} | {error, term()}.

start(Code, Opts)

-spec start(binary(), map()) -> {ok, pid()} | {error, term()}.

stop(Pid)

-spec stop(pid()) -> ok | {error, term()}.

version()

-spec version() -> binary().