Skip to content

Conversation

@dumbbell
Copy link
Collaborator

@dumbbell dumbbell commented Dec 8, 2021

The ?NO_PAYLOAD macro becomes simply the none atom.

The ?DATA_PAYLOAD(Data) one becomes the #kpayload_data{data = Data} record.

This allows some compile time verification and adds the ability to specify the payload types (for Dialyzer).

The `?NO_PAYLOAD` macro becomes simply the `none` atom.

The `?DATA_PAYLOAD(Data)` one becomes the `#kpayload_data{data = Data}`
record.

This allows some compile time verification and adds the ability to
specify the payload types (for Dialyzer).
@dumbbell dumbbell self-assigned this Dec 8, 2021
@dumbbell dumbbell marked this pull request as ready for review December 8, 2021 16:02
@dumbbell dumbbell merged commit 2eec846 into main Dec 8, 2021
@dumbbell dumbbell deleted the use-records-for-payload branch December 8, 2021 16:02
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.

2 participants