rupert
November 25, 2025, 11:11pm
1
Further to my sheet with a list of all kernel functions, somebody must have created a list of all Cmd, Sub and Task exposed by the entire elm/* and elm-explorations/* API?
If so, I would like to add it to the sheet.
I think the (wholly unnecessary) bot labelling is because your reply looks like it is AI generated, with the lightning and padlock emojis and bulleted text?
The problem with text based communication is that it is hard to read the nuances and intentions like we would in a face to face conversion. And if we read them wrong and make something out of it we might end up having a storm-in-a-tea-cup. So its best to give the benefit of the doubt - if you really think somones response is not worth your …
1 Like
lydell
November 26, 2025, 7:09am
2
lamdera/program-test is my go-to for a list of those.
type Subscription restriction msg
= SubBatch (List (Subscription restriction msg))
| SubNone
| TimeEvery Duration (Time.Posix -> msg)
| OnAnimationFrame (Time.Posix -> msg)
| OnAnimationFrameDelta (Duration -> msg)
| OnKeyPress (Json.Decode.Decoder msg)
| OnKeyDown (Json.Decode.Decoder msg)
| OnKeyUp (Json.Decode.Decoder msg)
| OnClick (Json.Decode.Decoder msg)
| OnMouseMove (Json.Decode.Decoder msg)
| OnMouseDown (Json.Decode.Decoder msg)
| OnMouseUp (Json.Decode.Decoder msg)
| OnResize (Int -> Int -> msg)
| OnVisibilityChange (Visibility -> msg)
| SubPort String (Sub msg) (Json.Decode.Value -> msg)
| OnConnect (SessionId -> ClientId -> msg)
| OnDisconnect (SessionId -> ClientId -> msg)
| HttpTrack String (Http.Progress -> msg)
| WebsocketListen Websocket.Connection (String -> msg) ({ code : Websocket.CloseEventCode, reason : String } -> msg)
This file has been truncated. show original
Note that it also contains Lamdera-specific commands, tasks and subscriptions.
3 Likes
system
Closed
December 6, 2025, 7:09am
3
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.