gmail v0.1.12 Gmail.Message.Worker

A worker for fetching messages.

Summary

Functions

Fetches multiple messages in parallel

Initialises the process with the default TTL

Functions

fetch(from, message_ids, params, state)

Specs

fetch({pid, reference}, list, map, map) :: :ok

Fetches multiple messages in parallel.

get(message_id, params, state)

Specs

get(String.t, map, map) ::
  {atom, map} |
  {atom, String.t}

Gets a message.

init(args)

Initialises the process with the default TTL.