Skip to content

Commit

Permalink
make handle_cast req polymorphic
Browse files Browse the repository at this point in the history
  • Loading branch information
dangdennis committed Dec 19, 2023
1 parent 1439274 commit 092038d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riot/lib/gen_server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module type Impl = sig
val init : args -> state init_result
val handle_call : 'res. 'res req -> Pid.t -> state -> 'res
val handle_info : Message.t -> state -> unit
val handle_cast : 'res req -> state -> unit
val handle_cast : 'res. 'res req -> state -> unit
end

type ('args, 'state) impl =
Expand Down

0 comments on commit 092038d

Please sign in to comment.