Event JSON
{
"id": "aff95c8e6b276ae1af3c9df33da4933213bd3717bdad4ad1957f23f9fecaf413",
"pubkey": "8f2e1774c6623534e7978213059ca9d67266a25fba6c772f785e2cfc554e2753",
"created_at": 1686650637,
"kind": 1,
"tags": [
[
"p",
"d432c4d9742a139f972abee38aad4c5a6d855d02e4346fcc35ed2ff9b6dcaa43",
"wss://relay.mostr.pub"
],
[
"p",
"c76776cc9d18aabbf3c240851bb23373fbff79f95a252eb81cb1b8e3ab19e0b4",
"wss://relay.mostr.pub"
],
[
"p",
"16ae1656580876352c0d645029f645f15e302c29b07ad55252aa7115ee649193",
"wss://relay.mostr.pub"
],
[
"p",
"b71bdefe5e02d06761f026466c45db9dc4c6bf55499c1bd7388d5e92cb47c514",
"wss://relay.mostr.pub"
],
[
"e",
"4a9469cdbfad2ae3a1fc18894c455e6a8089a6298f664236daffde490bf4b247",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://mastodon.social/users/nicklockwood/statuses/110536336178319022"
]
],
"content": "nostr:npub16sevfkt59gfel9e2hm3c4t2vtfkc2hgzus6xlnp4a5hlndku4fpsjlwex2 nostr:npub1canhdnyarz4thu7zgzz3hv3nw0al770etgjjawqukxuw82ceuz6qmq0fm9 I think the preferred pattern is for the single action closure to have an enum parameter indicating the action type, e.g.\n\nenum ListAction {\n case select(Index)\n case delete(Index)\n}\n\nstruct ListView: View { \n var action: (ListAction) -\u003e Void\n …\n}",
"sig": "12e98c8a94498354f107681855620b0f251519d15679dcba4babc78d1046e7b14b4fdc1e9b706a74158723b41bcc2385ee038ad00735367ae3212fd8f212b085"
}