diff --git a/compose/graph_call_options.go b/compose/graph_call_options.go index b4ce559..fd244b9 100644 --- a/compose/graph_call_options.go +++ b/compose/graph_call_options.go @@ -132,23 +132,13 @@ func WithCallbacks(cbs ...callbacks.Handler) Option { } } -// Deprecated: use WithCallbacks and perform the type checking for component within it instead -func WithNodeCallbacks(cbs ...callbacks.Handler) Option { - return WithCallbacks(cbs...) -} - -// Deprecated: use WithCallbacks and perform the type checking for component within it instead -func WithGraphCallbacks(cbs ...callbacks.Handler) Option { - return WithCallbacks(cbs...) -} - // Deprecated: use WithRuntimeMaxSteps directly instead. func WithGraphRunOption(opt Option) Option { return opt } // WithRuntimeMaxSteps sets the maximum number of steps for the graph runtime. -// eg. +// e.g. // // runnable.Invoke(ctx, "input", compose.WithRuntimeMaxSteps(20)) func WithRuntimeMaxSteps(maxSteps int) Option {