change AppUpdate.update function to return a list, so we can return multiple messages from a single event

This commit is contained in:
2024-09-27 08:27:53 +01:00
parent 57fbf5f1aa
commit e3ff121a35
4 changed files with 67 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
signature UPDATE_MESSAGE =
sig
datatype t = DRAW of DrawMessage.t | FILE of FileMessage.t | NO_MAILBOX
datatype t = DRAW of DrawMessage.t | FILE of FileMessage.t
end
structure UpdateMessage :> UPDATE_MESSAGE =
struct datatype t = DRAW of DrawMessage.t | FILE of FileMessage.t | NO_MAILBOX end
struct datatype t = DRAW of DrawMessage.t | FILE of FileMessage.t end