Check out example codes for "hwo to fire custom signal in godot". It will help you in understanding the concepts better.

Code Example 1

signal is_a_signal
if isasignal:
	emit_signal(is_a_signal)

Learn ReactJs, React Native from akashmittal.com