Continuity in the topological sense implies continuity by limits. For topological spaces with a countable (local) basis, the converse is also true.
So, in general it's not equivalent. For the reals etc., it is.
So, in general it's not equivalent. For the reals etc., it is.