The transfer of electrical signals between neurons through direct contact, rather than through chemical synapses, often observed in the nervous systems of invertebrates.