Home / Function/ promiseDoesNotInfiniteLoop() — netty Function Reference

promiseDoesNotInfiniteLoop() — netty Function Reference

Architecture documentation for the promiseDoesNotInfiniteLoop() function in EmbeddedChannelTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7a648fa9_f8c6_55b8_32d4_93dc9bfe482d["promiseDoesNotInfiniteLoop()"]
  300cabef_b042_697f_5623_37ce249f504d["EmbeddedChannelTest"]
  7a648fa9_f8c6_55b8_32d4_93dc9bfe482d -->|defined in| 300cabef_b042_697f_5623_37ce249f504d
  4fc8a753_5665_2ca5_69db_dc1006272b05["close()"]
  7a648fa9_f8c6_55b8_32d4_93dc9bfe482d -->|calls| 4fc8a753_5665_2ca5_69db_dc1006272b05
  style 7a648fa9_f8c6_55b8_32d4_93dc9bfe482d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java lines 93–99

    @Test
    @Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
    public void promiseDoesNotInfiniteLoop() throws InterruptedException {
        EmbeddedChannel channel = new EmbeddedChannel();
        channel.closeFuture().addListener((ChannelFutureListener) future -> future.channel().close());
        channel.close().syncUninterruptibly();
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does promiseDoesNotInfiniteLoop() do?
promiseDoesNotInfiniteLoop() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java.
Where is promiseDoesNotInfiniteLoop() defined?
promiseDoesNotInfiniteLoop() is defined in transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java at line 93.
What does promiseDoesNotInfiniteLoop() call?
promiseDoesNotInfiniteLoop() calls 1 function(s): close.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free