lgtv v0.2.3 Lgtv.Callback View Source

Simple genserver to represent an imaginary account process. Requires you provide an integer-based cid upon starting. There is a :fetch_data callback handler where you could easily get additional account attributes from a database or some other source - assuming the cid provided was a valid key to use as database criteria.

Link to this section Summary

Functions

Gracefully end this process

Init callback

Function to indicate that this account ordered a widget

Starts a new account process for a given cid

Returns the pid for the cid stored in the registry

Link to this section Functions

Gracefully end this process

Init callback

Function to indicate that this account ordered a widget

Starts a new account process for a given cid.

Returns the pid for the cid stored in the registry