ensoft / entrance / EnTrance.Feature.Target.Group

Target groups - see here for an extended explanation.

start : EnTrance.Types.MaybeSubscribe -> EnTrance.Request.Request

Create a target group.

This is an async request - use the connection state notifications to track progress.

startWithParent : String -> EnTrance.Types.MaybeSubscribe -> EnTrance.Request.Request

Create a target group with specified parent group. This is an async request - use the connection state notifications to track progress.

stop : EnTrance.Request.Request

Tear down a target group. This is an async request.

decodeIsUp : (Basics.Bool -> msg) -> Json.Decode.Decoder msg

Decode an up/down notification requested by passing SubscribeToConState to start. Takes a message constructor.