rapid_api v1.0.0 RapidApi

Summary

Functions

Creates a synchronous call to the specified package and base, passing all arguments provided

Creates an asynchronous call to the specified package and base, passing all arguments provided. When an answer is returned, sends the payload to the specified receiver pid

Functions

async_worker(receiver_pid)
call(pack, base, args \\ %{})
call(String.t, String.t, map) :: map

Creates a synchronous call to the specified package and base, passing all arguments provided.

Returns a Map of the payload.

call_async(pack, base, receiver_pid, args \\ %{})
call_async(String.t, String.t, pid, map) :: atom

Creates an asynchronous call to the specified package and base, passing all arguments provided. When an answer is returned, sends the payload to the specified receiver pid.

Returns :ok