Giter VIP home page Giter VIP logo

actress's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on GIS and Satellite Imagery systems
  • ๐ŸŒฑ Iโ€™m currently learning more about compilers
  • โšก I love working with C#, Scala, F# and TypeScript.

Open Source stuff:

  • Glob - a C#/.NET File Globbing library
  • Envelop - a C#/.NET dependency injection container

Fun stuff:

actress's People

Contributors

inosik avatar kthompson avatar sm-g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

actress's Issues

PostAndReply throws timeout exception for default values (int = 0 for example)

This code fails with TimeoutException MailboxProcessor PostAndReply timed out:

void Main()
{
    var printerAgent = MailboxProcessor.Start<Message>(async mb =>
    {
        var sharedResource = 0;
        while (true)
        {
            var value = await mb.Receive();
            value.Dump("Received");
            if (value is Fetch f)
            {
                f.Channel.Reply(sharedResource);
            }
        }
    });
    
    using (printerAgent)
    {
        printerAgent.DefaultTimeout = int.MaxValue;
        printerAgent.PostAndReply<int>(channel => new Fetch(channel)).Dump("Reply");
    }
}

// Define other methods and classes here
public abstract class Message
{
}

public class Fetch : Message
{
    public Fetch(IReplyChannel<int> channel)
    {
        Channel = channel;
    }
    
    public IReplyChannel<int> Channel { get; }
}

I am not sure why the exception is thrown. Why are default values not accepted?

Core compatibility

Hi, love this library, use it all the time (when I can't use F#).

Could you update the nuget package to make it support .net standard so we can use it in core please ?

Looking at the code there should be no problems, should be 100% compatible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.