Skip to content

Commit

Permalink
Remove experimental Pipes classes.
Browse files Browse the repository at this point in the history
Deleted experimental implementations of Channel, Client, Consumer, and related core proxy types. And making them into the main implementation.
  • Loading branch information
louthy committed Feb 5, 2025
1 parent 514bf36 commit 761f3f2
Show file tree
Hide file tree
Showing 64 changed files with 104 additions and 5,897 deletions.
61 changes: 0 additions & 61 deletions LanguageExt.Pipes/Client/Client.cs

This file was deleted.

237 changes: 0 additions & 237 deletions LanguageExt.Pipes/Client/CoreTypes.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

/// <summary>
/// Settings for `Mailbox` channels
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using LanguageExt.Traits;

namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

public class Inbox : Decidable<Inbox>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
using System;
using System.Threading.Channels;
using LanguageExt.Common;
using static LanguageExt.Prelude;

namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

record InboxWriter<A>(ChannelWriter<A> Writer) : Inbox<A>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using LanguageExt.Traits;

namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

public static class InboxExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using System;
using LanguageExt.Common;
using LanguageExt.Traits;

namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

/// <summary>
/// Entry point to a channel. Inboxes receive values and propagate them through the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using Ch = System.Threading.Channels;
namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

public static class Mailbox
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using System;
using LanguageExt.Common;
using LanguageExt.Traits;

namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

/// <summary>
/// Represents a channel. A channel has:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
using System;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
using LanguageExt.Common;

namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

record OutboxPure<A>(A Value) : Outbox<A>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using LanguageExt.Traits;

namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

public static class OutboxExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using System.Threading;
using System.Threading.Tasks;
using LanguageExt.Common;

namespace LanguageExt.Pipes2.Concurrent;
namespace LanguageExt.Pipes.Concurrent;

internal class OutboxInternal
{
Expand Down
6 changes: 6 additions & 0 deletions LanguageExt.Pipes/Concurrent/Outbox/Outbox.Module.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace LanguageExt.Pipes.Concurrent;

public partial class Outbox
{

}
Loading

0 comments on commit 761f3f2

Please sign in to comment.