scalecube-gateway icon indicating copy to clipboard operation
scalecube-gateway copied to clipboard

Add test on complete signal for WebSocket

Open segabriel opened this issue 5 years ago • 0 comments
trafficstars

WebSocket API: https://github.com/scalecube/scalecube-services/wiki/Web-Socket-API

Also it should work with local services which respond in another thread, example:

  @Override
  public Mono<String> one(String one) {
    return Mono.just(one);
  }

==>

  @Override
  public Mono<String> one(String one) {
    return Mono.delay(Duration.ofNanos(1), Schedulers.elastic()).thenReturn(one);
  }

segabriel avatar Mar 16 '20 11:03 segabriel