ilyakooo0/airlock/1.1.0

NOTE: the latest version is 1.1.1

Renamed to iko-soy/airlock. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as ilyakooo0/airlock still install under that name. 4 versions of 4 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/iko-soy/airlock.

What we checked: The repo moved to github.com/iko-soy/airlock. Rebuilt with git archive from commit e70aeed17bb6 of https://github.com/iko-soy/airlock (zip prefix ilyakooo0-airlock-9094925/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 ab128da30657c8dc83a8d43cecd556e70f6d53e9.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/ilyakooo0/airlock/zipball/1.1.0/

Ur.Sub

This module is conceptually similar to Platform.Sub, but allows you to subscribe to Urbit channels.

type alias Sub msg =
Sub msg

Like Sub from Platform.Sub but for Urbit subscriptions.

{ ship : String
, app : String
, path : List String
, deconstructor : Deconstructor msg
}
-> Sub msg

Creates an Urbit subscription.

subscribe
    { ship = ship
    , app = "journal"
    , path = [ "updates" ]
    , deconstructor = decodeJournalUpdate |> D.map GotUpdate
    }
none : Sub msg

A subscription that does exactly nothing. (Does not subscribe to anything)

batch : List (Sub msg) -> Sub msg

Batch multiple subscriptions into one.

{ ship : String
, app : String
, path : List String
, deconstructor : Deconstructor msg
}
-> Sub msg

Creates a %sink subscription.