You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sample shows how to create a Nexus service that is backed by a long-running workflow and
2
+
exposes operations that execute updates and queries against that workflow. The long-running
3
+
workflow, and the updates/queries are private implementation detail of the nexus service: the caller
4
+
does not know how the operations are implemented.
5
+
6
+
### Sample directory structure
7
+
8
+
-[service.py](./service.py) - shared Nexus service definition
9
+
-[caller](./caller) - a caller workflow that executes Nexus operations, together with a worker and starter code
10
+
-[handler](./handler) - Nexus operation handlers, together with a workflow used by one of the Nexus operations, and a worker that polls for both workflow, activity, and Nexus tasks.
11
+
12
+
13
+
### Instructions
14
+
15
+
Start a Temporal server. (See the main samples repo [README](../README.md)).
16
+
17
+
Run the following to create the caller and handler namespaces, and the Nexus endpoint:
0 commit comments