pub fn init_test(
network: &Network,
) -> Buffer<BoxService<Request, Response, BoxError>, Request>
Expand description
Returns a StateService
with an ephemeral Config
and a buffer with a single slot.
This can be used to create a state service for testing. See also init
.