_sub_java.mdx 228 字节
Newer Older
1
```java
D
dingbo 已提交
2
{{#include docs/examples/java/src/main/java/com/taos/example/SubscribeDemo.java}}
3 4 5 6 7
```
:::note
For now Java connector doesn't provide asynchronous subscription, but `TimerTask` can be used to achieve similar purpose.

:::