Questions tagged [emit]

Emit is a Python library for realtime data processing.

Emit is a Python library for realtime data processing. It can distribute work with Celery or RQ, coordinate execution in other languages, and let you swing from the trees of your graph with Tarzan-like precision.

387 questions
0
votes
1 answer

node.js with socket.io - how to emit data ONLY to the user that request it (in express route)?

I need to emit data only to the user that request it. So far I get: app.js file (server): var express = require('express'); var app = express(); app.set('view engine', 'ejs'); app.use(function(req, res, next){ req.io = io; next(); }); var…
webmasternewbie
  • 167
  • 1
  • 2
  • 16
0
votes
2 answers

Qt - Emit signal from callback

I am using the BGLib in my Qt application to communicate over BLE. In the main thread the GUI is running (sensornode_gui.cpp). By clicking on a pushButton a different thread starts to scan for BLE devices (ble_connection). I get the resulting…
schnarchnase
  • 13
  • 1
  • 8
0
votes
0 answers

$broadcast and $on is not working on single click

In my angularjs application I am using $emit and $on to show to different section of page. For code refer to this link. How to use $emit and $on of angularjs for two different controller stored in different path Green tick code is working but its…
Mohammed
  • 648
  • 2
  • 12
  • 32
0
votes
1 answer

How to use $emit and $on of angularjs for two different controller stored in different path

I have two views and its resp controller. Say view1.html and its controller firstCntrl and view2.html and its controller secndCntrl. In view1.html: There is Link2 which will be redirected to view2.html if it is clicked.
Mohammed
  • 648
  • 2
  • 12
  • 32
0
votes
1 answer

countdown in socket.io does not start at the same time

I'm using emit method to start a countdown on my android app. My problem is that the countdown doesn't start at the same time for the player and opponent. My game will play a random song and give points to the first player who guesses correct I…
Engin
  • 755
  • 7
  • 20
0
votes
2 answers

Angular2 observe an attribute in a service for changes

I am new to Angular2, and am trying to figure out the design pattern for parent and child components to perform actions when an attribute in a service changes, this service is available globally (declared in app.component.ts in the providers…
vim
  • 45
  • 1
  • 9
0
votes
1 answer

VerificationException: Operation could destabilize the runtime. Troubles with EmitCall(OpCodes.Call)

I am creating a system to store value types(int, byte, structs) on the heap and in order to prevent boxing and unboxing of said value types. This is because all of the constant boxing and unboxing in the Unity 3D engine is creating large GC CPU…
Tristan C
  • 21
  • 3
0
votes
2 answers

Implement a single method or use $scope.on and $scope.emit in AngularJs that will call the same method in multiple controllers without a service

I know similar questions has been asked in the past, but I hope to get a better understanding to my specific issue. I have multiple controllers managing the view of a single page. The main reason for this is that the functionality of each…
onmyway
  • 1,435
  • 3
  • 29
  • 53
0
votes
1 answer

Execute assembly generated at Runtime from Xamarin.iOS

I'm currently trying to generate and execute some C# code directly from a Xamarin.iOS code editor application I'm working on. I use Roslyn for all the compilation steps, but unfortunately, Mono doesn't allow you to load Assemblies at Runtime on…
Alois
  • 170
  • 3
  • 9
0
votes
1 answer

How to load an object to stack in Reflection.Emit C#

I'm trying to adapt this workaround to my project. Instead of a string I want to give an object (of type RevitFamily) to the base constructor. Unfortunately, I can't find out how to load an object or object reference onto the stack using…
0
votes
1 answer

Call one controller under another controller in angularjs

i want to call Homecontroller under the LoginController. below is the code of both controller: //Login controller app.controller('LoginController', function ($scope, $cookieStore) { $cookieStore.put('email','test@gmail.com'); //…
Samir Rawat
  • 53
  • 1
  • 2
  • 8
0
votes
1 answer

Angular 2 - EventEmmiter inside subscribe method

I am trying to create a "item-list" component to host a form that receives some data as input and send a http request to server, when receiving the response I would like to broadcast the new info to the parent that should work as a "list-component".…
Victor Carvalho
  • 1,610
  • 3
  • 14
  • 18
0
votes
1 answer

socket.io client not receiving io.emit from server ( using redis adapter )

I have a problem which started when updated to 1.4.5 recently. ( This has been working for the last 2 years ) . So when I send a client-msg to the server, the server receives the msg and then is supposed to emit the msg back to all the connected…
Squivo
  • 917
  • 1
  • 10
  • 21
0
votes
1 answer

calling an event in modal controller

I have an $scope.$on callback function on my mainController. wherever I call it from each controller it works perfectly. but when I call it from a modalController after opening modal , it's not working: define(['app', 'jquery'], function (app, $) { …
0
votes
0 answers

storm unknown error: can't emit message to another bolt

I am using strom to analysis some log, but when one bolt emit one log to another bolt, the code will stop and storm is sitll running, the log content is as following: {'request-content-type': 'application/x-www-form-urlencoded', 'src':…
tdycss
  • 139
  • 2
  • 13