Skip to content

Mark MessagePackTimestamp and MessagePackExtension as Sendable#53

Open
fumoboy007 wants to merge 2 commits into
hirotakan:masterfrom
fumoboy007:patch-1
Open

Mark MessagePackTimestamp and MessagePackExtension as Sendable#53
fumoboy007 wants to merge 2 commits into
hirotakan:masterfrom
fumoboy007:patch-1

Conversation

@fumoboy007
Copy link
Copy Markdown

MessagePackTimestamp and MessagePackExtension can be marked Sendable (a.k.a. thread-safe) because they are value types. Marking a type as Sendable will allow values of that type to be passed across concurrency domains.

`MessagePackTimestamp` can be marked `Sendable` (a.k.a. thread-safe) because it is a value type. Marking the type as `Sendable` will allow values of that type to be passed across concurrency domains.
`MessagePackExtension` can be marked `Sendable` (a.k.a. thread-safe) because it is a value type. Marking the type as `Sendable` will allow values of that type to be passed across concurrency domains.
@fumoboy007 fumoboy007 changed the title Mark MessagePackTimestamp and MessagePackExtension as Sendable. Mark MessagePackTimestamp and MessagePackExtension as Sendable Jan 19, 2023
@fumoboy007
Copy link
Copy Markdown
Author

@hirotakan Let me know if you have any questions. 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant