The following macro is defined in the TikZ source code (specifically in <tex installation directory>/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex).
\def\tikz@scan@next@command{%
\ifx\tikz@collected@onpath\pgfutil@empty%
\else%
\tikz@invoke@collected@onpath%
\fi%
\afterassignment\tikz@handle\let\pgf@let@token=%
}
What is the purpose of the \afterassignment in this context?
I'm not asking about \afterassignmet in general, though I sure won't mind a recap about how this construct works in general. But I'm particularly interested in what it means within the above macro in light of what the macro is supposed to do. A similar usage occurs many times in the TikZ source code. I hope that if I understand the example above, I'll understand it once and for all.

\tikz@handle. – egreg Aug 08 '17 at 16:15{which you can not grab as#1, you could use\futureletbut no one has ever called\futureletintuitive. – David Carlisle Aug 08 '17 at 16:22futureletexpression look like? – Evan Aad Aug 08 '17 at 16:25\letrather than#1means that if the following text is{abc}you just grab the{not the whole group (see my answer) – David Carlisle Aug 08 '17 at 16:39