Xirsys.Sockets.TierSession (xturn_sockets v2.2.0)
View SourceWorker that owns one async pipeline tier's accumulator and handler state.
Started by Engine when a tier uses dispatch: :task or dispatch: :pool.
Messages are {:push, payload, meta} casts from the parent connection.
Summary
Functions
Temporary child spec so a crashed tier is not restarted in-place.
Starts a session for one tier of one connection.
Functions
Temporary child spec so a crashed tier is not restarted in-place.
Parameters
opts- same keyword list asstart_link/1
Starts a session for one tier of one connection.
Parameters
opts is a keyword list:
:pipeline- compiled%Pipeline{}:tier_key- tier being isolated:conn- parentConn:owner- parent connection pid (monitored):transport- transport module for replies