Skip to content

Commit cbf55ae

Browse files
authored
chore(js): mark runWithStreamingCallback as deprecated
1 parent 06cc6ab commit cbf55ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/core/src/action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,8 @@ export const sentinelNoopStreamingCallback = () => null;
529529
/**
530530
* Executes provided function with streaming callback in async local storage which can be retrieved
531531
* using {@link getStreamingCallback}.
532+
*
533+
* @deprecated `getStreamingCallback` is no longer used internally
532534
*/
533535
export function runWithStreamingCallback<S, O>(
534536
streamingCallback: StreamingCallback<S> | undefined,

0 commit comments

Comments
 (0)