mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-04 18:43:54 +01:00
Rework a line
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* The timeout arg to `serve` was replaced with a `Config` struct, which
|
||||
currently only contains one field, but will be expanded in the future
|
||||
to allow configuring serialization protocol, and other things.
|
||||
* `serve` is now a `default fn` on the generated `Service` traits,
|
||||
* `serve` was changed to be a default method on the generated `Service` traits,
|
||||
and it was renamed `spawn_with_config`. A second `default fn` was added:
|
||||
`spawn`, which takes no `Config` arg.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user