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
Allow async calls to get shim spec, calling after and inContext hooks. Currently they are called sync and if you want to do some async operation you have to get creative.
Additional context
It's probably worth re-evaluating the instrumentation APIs(shim). A lot has evolved since they are created and we're bolting on functionality as we need it but may be time for a holistic solution. It also may be hard to do this request because we return sync wrappers so we might have to be smarter with our wraps based on the original function. I don't think there will be a need to do something async in a sync function.
Priority
[Really Want]
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We have a need in aws sdk instrumentation to run async operations to return the specification for a given function spec, bedrock spec.
Feature Description
Allow async calls to get shim spec, calling after and inContext hooks. Currently they are called sync and if you want to do some async operation you have to get creative.
Additional context
It's probably worth re-evaluating the instrumentation APIs(shim). A lot has evolved since they are created and we're bolting on functionality as we need it but may be time for a holistic solution. It also may be hard to do this request because we return sync wrappers so we might have to be smarter with our wraps based on the original function. I don't think there will be a need to do something async in a sync function.
Priority
[Really Want]
The text was updated successfully, but these errors were encountered: