submit-and-listen

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2022 License: Apache-2.0

README

提交任务并监听任务执行结果

应用场景示例

定时调度时,调度任务执行时间过长,调用(client)方不想等待。希望任务执行完成后, 执行方(server)主动通知执行结果。

组件介绍

1、client:提交任务,并通过设置listener,监听server端的执行结果。 2、server:执行任务,执行完毕时,会向client端,通知执行结果。

使用示例

参考:example/

Directories

Path Synopsis
example

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL