Comments (4)
Isn't that already supported?
func Activity(ctx context.Context) error {
temporalClient, err := client.NewClient(client.Options{})
if err != nil {
return nil
}
info := activity.GetInfo(ctx)
temporalClient.SignalWorkflow(ctx, info.WorkflowExecution.ID, info.WorkflowExecution.RunID, "signalName", "signalData")
// do other things
}
from sdk-core.
It is doable. But I think it is to provide a helper function that makes it easy.
from sdk-core.
I'm not sure this issue belongs in core, we can add it lang-side pretty easily.
ATM core doesn't handle the client functionality, that's all done lang-side using a gRPC client.
from sdk-core.
Closing since, yeah, this is really a lang thing.
from sdk-core.
Related Issues (20)
- [Feature Request] Managing dependencies for the Rust SDK HOT 3
- [Bug] Panic when failing to start worker due to being unauthorized
- [Feature Request] API key client option
- [Feature Request] poll_workflow_task_queue retried X times needs to be an ERROR log, not WARN HOT 1
- [Bug] Cancellation when using local activities HOT 2
- [Feature Request] Set a certain application failure "type" on non-determinism failure
- [Bug] Core doesn't expose the `cause` from `WorkflowExecutionCancelRequestedEventAttributes`
- [Bug] Core should not keep retrying local activities indefinitely after worker shutdown has been requested
- [Feature Request] Use macOS M1/ARM runners for all SDK CI
- Support for WorkflowIdConflictPolicy
- [Bug] Legacy queries may get lost
- Expose defaultConnection() method to switch between localhost and cloud based on env
- [Bug] ConnectionReset trying to connect to Temporal Server HOT 2
- [Feature Request] Activity task not tracked warning happens even on cancel
- [Feature Request] Tag workflow_task_execution_failed with error type
- [Feature Request] Expose ephemeral server PID and confirm shutdown destroys process HOT 2
- [Feature Request] Local activity support for next-retry-delay
- [Feature Request] Set Temporal-Namespace header on every namespace-specific gRPC request
- [Feature Request] Cloud Operations API Client
- [Feature Request] Call describe namespace on worker start
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk-core.