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

:::