Sorcery.PortalServer.Portal (sorcery v0.4.4)

A Portal represents an ongoing SrcQL Query. Rather than grabbing data and ending, it continues watching for changes to the results set.

A copy of any given Portal is found in the state of two different PortalServers; the parent, and the child PortalServer.

Summary

Functions

Get the list of all lvars that match a given tk

When we freeze a portal, all the lvars are replaced with tablekeys (tk). If multiple lvars reference the same tablekey, they are merged.

Functions

Link to this function

all_lvars_by_tk(portal, tk)

Get the list of all lvars that match a given tk

When we freeze a portal, all the lvars are replaced with tablekeys (tk). If multiple lvars reference the same tablekey, they are merged.

A frozen portal is no longer kept up to date. Instead, it is immutable.

Link to this function

get_in(sorcery_state, portal_name, lvar)

Link to this function

new(body \\ %{})