Skip to content

Commit

Permalink
Update deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Sep 26, 2022
1 parent cdc64c6 commit e56bdc2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Bonsai.Core/Expressions/CreateAsyncBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@
namespace Bonsai.Expressions
{
/// <summary>
/// This type is obsolete. Represents an expression builder that creates a single
/// value observable sequence from the result of the encapsulated workflow.
/// </summary>
/// This type is obsolete. Please use the <see cref="Reactive.Defer"/> operator or
/// <see cref="Reactive.AsyncSubjectBuilder"/> instead.
[Obsolete]
[WorkflowElementCategory(ElementCategory.Source)]
[XmlType("CreateAsync", Namespace = Constants.XmlNamespace)]
[Description("Creates and emits the last value of the observable sequence for each subscription using the encapsulated workflow.")]
[Description("This type is obsolete. Please use the Defer operator or AsyncSubject instead.")]
public class CreateAsyncBuilder : WorkflowExpressionBuilder
{
static readonly Expression UnitExpression = Expression.Constant(Observable.Return(Unit.Default), typeof(IObservable<Unit>));
Expand Down

0 comments on commit e56bdc2

Please sign in to comment.