Git Product home page Git Product logo

Comments (3)

robertpenner avatar robertpenner commented on June 15, 2024

This was probably fun to make. Personally, though, I would treat mySignal.dispatch() as just a function call that can be be wrapped in a closure and delayed using a mechanism outside the signal.

Here is a fun way to delay by one frame, using NativeSignal:
http://www.darklump.co.uk/blog/?p=341

from as3-signals.

artgug avatar artgug commented on June 15, 2024

Yeah it was. I saw that post before I created the AsyncSignal, and it's certainly useful, but I wanted something more integrated that would easily work with Robotlegs in anything (including commands) just changing the class declaration, no boilerplate code. If I need an Async dispatch, just change the "extends Signal" to "extends AsyncSignal" and that's it. I felt is followed the spirit of simplicity, compile-time checking and little boilerplate code. Also it doesn't depend on having the object be part of the display list.
BTW. Love your code, so easy to follow, yet efficient.

from as3-signals.

robertpenner avatar robertpenner commented on June 15, 2024

Closing.

from as3-signals.

Related Issues (20)

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.